@sumup/sdk
Preparing search index...
import
APIStatusError
Class APIStatusError
Hierarchy (
View Summary
)
APIError
APIStatusError
AuthenticationError
BadRequestError
ConflictError
InternalServerError
NotFoundError
PermissionDeniedError
RateLimitError
UnprocessableEntityError
Index
Constructors
constructor
Properties
cause?
error
message
name
response
stack?
status
Accessors
problem
Methods
from
Response
Constructors
constructor
new
APIStatusError
(
status
:
number
,
error
:
unknown
,
response
:
Response
,
options
?:
ErrorOptions
,
)
:
APIStatusError
Parameters
status
:
number
error
:
unknown
response
:
Response
Optional
options
:
ErrorOptions
Returns
APIStatusError
Properties
Optional
cause
cause
?:
unknown
Readonly
error
error
:
unknown
message
message
:
string
name
name
:
string
Readonly
response
response
:
Response
Optional
stack
stack
?:
string
Readonly
status
status
:
number
Accessors
problem
get
problem
()
:
Problem
|
undefined
Typed Problem details, when the API returned a Problem response.
Returns
Problem
|
undefined
Methods
Static
from
Response
fromResponse
(
response
:
Response
)
:
Promise
<
APIError
<
unknown
>
>
Parameters
response
:
Response
Returns
Promise
<
APIError
<
unknown
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
cause
error
message
name
response
stack
status
Accessors
problem
Methods
from
Response
@sumup/sdk
Loading...
Typed Problem details, when the API returned a Problem response.