Interface InfiniteError

A generic error information.

The source parameter may refer to :

  • http gate: the error comes from the http server, when http authorization is failed.
  • proxy http api : the error comes from the proxy http api.
  • local dmu manager http api : the error comes from the local dmu manager http api.
  • directory http api : the error comes from the directory http api.
  • js web api : the error comes from the javascript api.

The errorinfo may provide additional information about the error. The code is the type of error (usually inferred from the http result code, tErrorCodeType). The uuid is a 32 character long hexadecimal string. If it comes from the http gate, it is 'ffffffffffffffffffffffffffffffff', If it comes from the js web api, it is '00000000000000000000000000000000', else if it comes from another source, the uuid can be used to track the error in the server logs.


Main

interface InfiniteError {
    code: tErrorCodeType;
    datetime?: string;
    error: true;
    errorinfo?: string[];
    source?: string;
    uuid: string;
}

Properties

Code of the error, usually inferred from the http result code.

datetime?: string

Optional date and time of the error (iso date with timezone).

Ex: 2024-01-30T15:27:09+00:00.

error: true

This is an error, this must be true.

errorinfo?: string[]

Optional additional information about the error.

source?: string

Information on error emitter.

  • http gate: the error comes from the http server, when http authorization is failed.
  • proxy http api : the error comes from the proxy http api.
  • local dmu manager http api : the error comes from the local dmu manager http api.
  • directory http api : the error comes from the directory http api.
  • js web api : the error comes from the javascript api.
uuid: string

A 32 character long hexadecimal string. If it comes from the http gate, it is 'ffffffffffffffffffffffffffffffff', If it comes from the js web api, it is '00000000000000000000000000000000', else if it comes from another source, the uuid can be used to track the error in the server logs.