AppException.unauthorized constructor
- [String message = 'Unauthorized']
Implementation
AppException.unauthorized([this.message = 'Unauthorized'])
: code = HttpStatus.unauthorized;
AppException.unauthorized([this.message = 'Unauthorized'])
: code = HttpStatus.unauthorized;