UserExceptionAction<St> constructor
UserExceptionAction<St> (
- String msg, {
- Object? cause,
- ExceptionCode? code,
Implementation
UserExceptionAction(
/// Some message shown to the user.
String msg, {
/// The cause of the user-exception. Usually another error.
Object? cause,
/// The error may have some code. This may be used for error message
/// translations, and also to simplify receiving errors from web-services,
/// cloud-functions etc.
ExceptionCode? code,
}) : this.from(UserException(msg, cause: cause, code: code));