1
0
mirror of https://github.com/flarum/core.git synced 2025-08-09 01:46:35 +02:00

Bundled output for commit 57b413ada5

Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
This commit is contained in:
flarum-bot
2021-12-11 17:37:26 +00:00
parent 57b413ada5
commit 1a420828aa
6 changed files with 11 additions and 6 deletions

View File

@@ -218,6 +218,11 @@ export default class Application {
* @return {Promise}
*/
request<ResponseType>(originalOptions: FlarumRequestOptions<ResponseType>): Promise<ResponseType | string>;
/**
* By default, show an error alert, and log the error to the console.
*/
protected requestErrorCatch<ResponseType>(error: RequestError, customErrorHandler: FlarumRequestOptions<ResponseType>['errorHandler']): Promise<never>;
protected requestErrorDefaultHandler(e: unknown, isDebug: boolean, formattedErrors: string[]): void;
private showDebug;
/**
* Construct a URL to the route with the given name.