Flarum (v2.0.0-beta.1)
Preparing search index...
flarum
common/utils/RequestError
RequestError
Class RequestError<ResponseType>
Type Parameters
ResponseType
=
string
Index
Constructors
constructor
Properties
alert
options
response
response
Text
status
xhr
Constructors
constructor
new
RequestError
<
ResponseType
=
string
>
(
status
:
number
,
responseText
:
string
|
null
,
options
:
InternalFlarumRequestOptions
<
ResponseType
>
,
xhr
:
XMLHttpRequest
,
)
:
RequestError
<
ResponseType
>
Type Parameters
ResponseType
=
string
Parameters
status
:
number
responseText
:
string
|
null
options
:
InternalFlarumRequestOptions
<
ResponseType
>
xhr
:
XMLHttpRequest
Returns
RequestError
<
ResponseType
>
Properties
alert
alert
:
AlertAttrs
|
null
options
options
:
InternalFlarumRequestOptions
<
ResponseType
>
response
response
:
|
{
errors
?:
{
code
?:
string
;
detail
?:
string
;
[
key
:
string
]:
unknown
}
[]
;
[
key
:
string
]:
unknown
;
}
|
null
response
Text
responseText
:
string
|
null
status
status
:
number
xhr
xhr
:
XMLHttpRequest
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
alert
options
response
response
Text
status
xhr
Flarum (v2.0.0-beta.1)
Loading...