ServiceError constructor
ServiceError(
- String message,
- ServiceErrorCode code
Creates a ServiceError with the specified message and code.
message A human-readable description of the error.
code The specific error code type.
Implementation
ServiceError(this.message, this.code);