ServiceError constructor

ServiceError(
  1. String message,
  2. 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);