UnauthorizedException constructor

UnauthorizedException([
  1. String message = 'Unauthorized'
])

Creates a new UnauthorizedException.

Implementation

UnauthorizedException([String message = 'Unauthorized']) : super(401, message);