Inheritance
Error > GaxiosErrorPackage
gaxiosConstructors
(constructor)(message, options, response, error)
constructor
(
message
:
string
,
options
:
GaxiosOptions
,
response
:
GaxiosResponse<T>
,
error
?:
Error
|
NodeJS
.
ErrnoException
|
undefined
);
Constructs a new instance of the GaxiosError
class
Parameters
Name
Description
message
string
options
response
GaxiosResponse
<T>
error
Error
| NodeJS.ErrnoException
| undefined
Properties
code
code
?:
string
;
An Error code. See
'ECONNRESET'
config
config
:
GaxiosOptions
;
error
error
?:
Error
|
NodeJS
.
ErrnoException
|
undefined
;
response
response
?:
GaxiosResponse<T>
;
status
status
:
number
;
An HTTP Status code. See
500

