export function isUnauthorizedError()

in src/errors/UnauthorizedError.ts [18:20]


export function isUnauthorizedError(error: unknown): error is UnauthorizedError {
    return Boolean(error) && (error as UnauthorizedError).isUnauthorizedError === true;
}