ResourceHandlerCallback: (err: string | null, response?: *) => any

Type declaration

    • (err: string | null, response?: *): any
    • Parameters

      • err: string | null

        The error message in the case where the load fails.

      • Optionalresponse: *

        The raw data that has been successfully loaded.

      Returns any