Flarum (2.x)
    Preparing search index...
    • An errorHandler for app.request that shows why a request failed through Flarum's alerts: the server's words when it sent any, otherwise the string fallbackKey names. It replaces Flarum's generic alert rather than adding a second one beside it.

      Parameters

      • fallbackKey: string

      Returns (e: RequestError) => void