Gjsify LogoGjsify Logo

Resource errors are for any resource used by an element: memory, files, network connections, process space, ... They're typically used by source and sink elements.

Index

Enumeration Members

BUSY: number

used when resource is busy.

CLOSE: number

used when the resource can't be closed.

FAILED: number

a general error which doesn't fit in any other category. Make sure you add a custom message to the error call.

NOT_AUTHORIZED: number

used when the resource can't be opened due to missing authorization. (Since: 1.2.4)

NOT_FOUND: number

used when the resource could not be found.

NO_SPACE_LEFT: number

used when the resource has no space left.

NUM_ERRORS: number

the number of resource error types.

OPEN_READ: number

used when resource fails to open for reading.

OPEN_READ_WRITE: number

used when resource cannot be opened for both reading and writing, or either (but unspecified which).

OPEN_WRITE: number

used when resource fails to open for writing.

READ: number

used when the resource can't be read from.

SEEK: number

used when a seek on the resource fails.

SETTINGS: number

used when settings can't be manipulated on.

SYNC: number

used when a synchronize on the resource fails.

TOO_LAZY: number

do not use this except as a placeholder for deciding where to go while developing code.

WRITE: number

used when the resource can't be written to.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method