n8n-nodes-semble v2.1.0


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

SembleError.constructor

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

SembleError.toJSON


getUserMessage()

getUserMessage(): string

Defined in: core/SembleError.ts:371

Generates user-friendly error message

Returns

string

Overrides

SembleError.getUserMessage


isRetryable()

isRetryable(): boolean

Defined in: core/SembleError.ts:375

Checks if error is retryable based on category and code

Returns

boolean

Overrides

SembleError.isRetryable

Properties

code

readonly code: string

Defined in: core/SembleError.ts:43

Inherited from

SembleError.code


category

readonly category: ErrorCategory

Defined in: core/SembleError.ts:44

Inherited from

SembleError.category


severity

readonly severity: ErrorSeverity

Defined in: core/SembleError.ts:45

Inherited from

SembleError.severity


context

readonly context: ErrorContext

Defined in: core/SembleError.ts:46

Inherited from

SembleError.context


timestamp

readonly timestamp: Date

Defined in: core/SembleError.ts:47

Inherited from

SembleError.timestamp


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