1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| /*
| * Copyright (c) Microsoft Corporation. All rights reserved.
| * Licensed under the MIT License.
| */
|
| import { CustomAuthError } from "./CustomAuthError.js";
|
| export class UnsupportedEnvironmentError extends CustomAuthError {
| constructor(correlationId?: string) {
| super(
| "unsupported_env",
| "The current environment is not browser",
| correlationId
| );
| Object.setPrototypeOf(this, UnsupportedEnvironmentError.prototype);
| }
| }
|
|