import type { DataProxyAPIErrorInfo } from './DataProxyAPIError' ; import { DataProxyAPIError } from './DataProxyAPIError' ; import { setRetryable } from './utils/setRetryable' ; export interface UnauthorizedErrorInfo extends DataProxyAPIErrorInfo { } export class UnauthorizedError extends DataProxyAPIError { public name = 'UnauthorizedError' ; public code = 'P5007' ; constructor ( info ) { super ( 'Unauthorized, check your connection string' , setRetryable ( info , false ) ) ; } }