Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RequestResult

Interface for basic request result returned from the server-side. A valid server-side response should be in the following format

{
 "error": boolean or string_err,
 "result": JSON result object
}
export
interface

RequestResult

Hierarchy

  • RequestResult

Index

Properties

Properties

error

error: boolean | string

Indicate whether the response is error

memberof

RequestResult

result

result: string | boolean | GenericObject<any> | any[] | FileInfoType | FileInfoType[] | UserSettingType

The response result, this value must be set when error is false

memberof

RequestResult