Search
Preparing search index...
The search index is not available
@servicestack/ui
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@servicestack/ui
client
ApiResult
Class ApiResult<TResponse>
Type Parameters
TResponse
Hierarchy
ApiResult
Implements
ApiResponse
Index
Constructors
constructor
Properties
error
response
Accessors
completed
error
Code
error
Message
error
Summary
errors
failed
succeeded
Methods
add
Field
Error
field
Error
field
Error
Message
has
Field
Error
show
Summary
summary
Message
Constructors
constructor
new
Api
Result
<
TResponse
>
(
init
?:
Partial
<
ApiResult
<
TResponse
>
>
)
:
ApiResult
<
TResponse
>
Type Parameters
TResponse
Parameters
Optional
init:
Partial
<
ApiResult
<
TResponse
>
>
Returns
ApiResult
<
TResponse
>
Properties
Optional
error
error
?:
ResponseStatus
Optional
response
response
?:
TResponse
Accessors
completed
get
completed
(
)
:
boolean
Returns
boolean
error
Code
get
errorCode
(
)
:
string
Returns
string
error
Message
get
errorMessage
(
)
:
string
Returns
string
error
Summary
get
errorSummary
(
)
:
string
Returns
string
errors
get
errors
(
)
:
ResponseError
[]
Returns
ResponseError
[]
failed
get
failed
(
)
:
boolean
Returns
boolean
succeeded
get
succeeded
(
)
:
boolean
Returns
boolean
Methods
add
Field
Error
add
Field
Error
(
fieldName
:
string
, message
:
string
, errorCode
?:
string
)
:
void
Parameters
fieldName:
string
message:
string
Optional
errorCode:
string
Returns
void
field
Error
field
Error
(
fieldName
:
string
)
:
ResponseError
Parameters
fieldName:
string
Returns
ResponseError
field
Error
Message
field
Error
Message
(
fieldName
:
string
)
:
string
Parameters
fieldName:
string
Returns
string
has
Field
Error
has
Field
Error
(
fieldName
:
string
)
:
boolean
Parameters
fieldName:
string
Returns
boolean
show
Summary
show
Summary
(
exceptFields
?:
string
[]
)
:
boolean
Parameters
Optional
exceptFields:
string
[]
Returns
boolean
summary
Message
summary
Message
(
exceptFields
?:
string
[]
)
:
string
Parameters
Optional
exceptFields:
string
[]
Returns
string
Modules
admin
client
explorer
locode
shared
Api
Result
constructor
error
response
completed
error
Code
error
Message
error
Summary
errors
failed
succeeded
add
Field
Error
field
Error
field
Error
Message
has
Field
Error
show
Summary
summary
Message
Generated using
TypeDoc