mirror of
https://github.com/apache/superset.git
synced 2026-04-14 05:34:38 +00:00
fix: typo on doc string (#19346)
This commit is contained in:
@@ -29,7 +29,7 @@ export type ErrorInput = string | Error | Response | SupersetApiErrorPayload;
|
||||
* @param error the catched error from SupersetClient.request(...)
|
||||
*/
|
||||
export default async function handleError(error: ErrorInput): Promise<never> {
|
||||
// already a Sueprset error
|
||||
// already a Superset error
|
||||
if (error instanceof SupersetApiError) {
|
||||
throw error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user