Forbidden constructor

const Forbidden({
  1. String? message,
  2. ErrorType errorType = ErrorType.forbidden,
})

Implementation

const Forbidden({
  String? message,
  ErrorType errorType = ErrorType.forbidden,
}) : super(errorType, message: message);