SembleNetworkError
n8n-nodes-semble / core/SembleError / SembleNetworkError
Class: SembleNetworkError¶
Defined in: core/SembleError.ts:351
Network and connectivity errors
Covers communication issues: - Connection timeouts - DNS resolution failures - SSL/TLS errors - Proxy and firewall issues
Extends¶
Constructors¶
Constructor¶
new SembleNetworkError(
message
,code
,originalError?
,url?
,timeout?
,context?
):SembleNetworkError
Defined in: core/SembleError.ts:356
Parameters¶
message¶
string
code¶
string
= 'NETWORK_ERROR'
originalError?¶
Error
url?¶
string
timeout?¶
number
context?¶
ErrorContext
= {}
Returns¶
SembleNetworkError
Overrides¶
Methods¶
toJSON()¶
toJSON():
Record
\<string
,any
>
Defined in: core/SembleError.ts:73
Converts error to JSON for logging and serialization
Returns¶
Record
\<string
, any
>
Inherited from¶
getUserMessage()¶
getUserMessage():
string
Defined in: core/SembleError.ts:371
Generates user-friendly error message
Returns¶
string
Overrides¶
isRetryable()¶
isRetryable():
boolean
Defined in: core/SembleError.ts:375
Checks if error is retryable based on category and code
Returns¶
boolean
Overrides¶
Properties¶
code¶
readonly
code:string
Defined in: core/SembleError.ts:43
Inherited from¶
category¶
readonly
category:ErrorCategory
Defined in: core/SembleError.ts:44
Inherited from¶
severity¶
readonly
severity:ErrorSeverity
Defined in: core/SembleError.ts:45
Inherited from¶
context¶
readonly
context:ErrorContext
Defined in: core/SembleError.ts:46
Inherited from¶
timestamp¶
readonly
timestamp:Date
Defined in: core/SembleError.ts:47
Inherited from¶
originalError?¶
readonly
optional
originalError:Error
Defined in: core/SembleError.ts:352
url?¶
readonly
optional
url:string
Defined in: core/SembleError.ts:353
timeout?¶
readonly
optional
timeout:number
Defined in: core/SembleError.ts:354