MokaException constructor
MokaException({
- String? code,
- int? statusCode,
- required String message,
- ExceptionType type = ExceptionType.unrecognizedException,
Implementation
MokaException({
this.code,
int? statusCode,
required this.message,
this.type = ExceptionType.unrecognizedException,
}) : statusCode = statusCode ?? 500,
name = type.name;