fix: typo on doc string (#19346)
This commit is contained in:
parent
202e34a259
commit
2af2d00e85
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue