Package com.mi.rs
Interface public interface IResponseError

Defines the interface of the error parameter of IResponse. Used as the type of the error member in IResponse.



Public Properties
  Property Defined By
    code : int
[read-only] The error code.
IResponseError
    data : *
[read-only] Any additional error information.
IResponseError
    message : String
[read-only] A short description of the error.
IResponseError
Property Detail
code property
code:int  [read-only]

The error code. See the RealityServer command documentation to know which error codes can occur and what they mean. Also note that there are client side errors defined in the range -5000 to -5999. These errors occur when for instance a connection problem prevented execution of the command.


Implementation
    public function get code():int
data property  
data:*  [read-only]

Any additional error information. The contents and type of this depends on the error itself and the command that produced the error.


Implementation
    public function get data():*
message property  
message:String  [read-only]

A short description of the error.


Implementation
    public function get message():String