codenic_exception_converter 5.2.0 codenic_exception_converter: ^5.2.0 copied to clipboard
A utility tool for converting Exception into Failure objects to make your code more portable and easier to maintain.
5.2.0 #
- Allow
Errors
to be converted into failures by introducing aErrorConverter
class.
5.1.0 #
- Improve docs
5.0.0 #
- Make the
ExceptionConverterSuite.convert
accept onlyException
types. - Add optional
onError
inExceptionConverterSuite.observe
to handle thrownError
s.
4.1.0 #
- Add
code
inFailure
to store the error code.
4.0.1 #
- Fix:
printOutput
parameter inExceptionConverter.observe
andExceptionConverter.convert
does not disable output printing.
4.0.0 #
- Bump dependency versions.
- Add
printOutput
boolean parameter toExceptionConverter.observe
andExceptionConverter.convert
to print the returned output of the task as part of theMessageLog.data
keyed by__output__
. - Remove exception handling in
ExceptionConverter.convert
and move it to the newExceptionConverter.logException
method.
3.2.0 #
- Add
EitherExtension
for easier access of left and right values
3.1.2 #
- Bump
codenic_logger
from4.0.0
to4.0.1
- Rethrow error with stacktrace
3.1.1 #
- Bump dependencies
3.1.0 #
- BUGFIX:
ExceptionConverter.exceptionEquals
now correctly comparesException
instances
3.0.0 #
- Migrate to Dart 3
2.0.3 #
- Update default
Failure
message
2.0.2 #
- Upgrade
codenic_logger
to2.0.4
2.0.1 #
- Remove unused
printResult
inExceptionConverterSuite
2.0.0 #
- Remove
Failure
generic type inExceptionConverter
1.0.3 #
- Upgrade
codenic_logger
to2.0.3
1.0.2 #
- Bump dependencies
- Use
FutureOr
inExceptionConverter.observe
andExceptionConverter.observe
task
parameters. - Deprecate
ExceptionConverter.observeSync
andExceptionConverterSuite.observeSync
1.0.1 #
- Update documentation link in README.md
1.0.0 #
- Initial version