PageError.unauthorized constructor
Creates a 401 Unauthorized error.
Implementation
const PageError.unauthorized([
String message = 'Unauthorized',
List<Cookie> cookies = const [],
]) : this(message, statusCode: 401, cookies: cookies);
Creates a 401 Unauthorized error.
const PageError.unauthorized([
String message = 'Unauthorized',
List<Cookie> cookies = const [],
]) : this(message, statusCode: 401, cookies: cookies);