(error: any)
| 100 | |
| 101 | // Type guard functions for robust error detection |
| 102 | export function isConfigError(error: any): error is ConfigError { |
| 103 | return error instanceof ConfigError || error.errorType === "config_error"; |
| 104 | } |
| 105 | |
| 106 | export function isAuthenticationError( |
| 107 | error: any, |