Closed stloyd closed 10 years ago
@asm89 ping =)
@stloyd I'd like to merge this, but I'm pondering as what version it should be released. Since it is a BC break..
@asm89 You know, we can have BC covered by changing to \RuntimeException
as a base one again, but I just don't think this is correct one...
@stloyd How about this:
The other thing I'm not sure about is overriding the constructor arguments of exception.
@asm89 Sounds reasonable =) changed the code =)
@asm89 Ping =)
@stloyd Thank you for this PR. :) I'm still wondering if there's a better name for BaseException
, but I've merged it for now.
This is kinda BC break, cause it throws more proper (IMO) exception
\InvalidArgumentException
instead of\RuntimeException
. So if someone hadtry/catch
for the old one, those new will pass, as they are no diffrenent.