Function onerror

    Fires when an error occurs during object loading.

    • Parameters

      • event: string | Event
      • Optionalsource: string
      • Optionallineno: number
      • Optionalcolno: number
      • Optionalerror: Error

      Returns any