Skip to main content

NfFetchException

Summary

Thrown when an HTTP fetch performed internally by the engine fails.

Signature

Constructors

constructor

Constructs a new instance of the class

Properties

code

Modifiers: readonly Type:get code(): number; The HTTP status code returned by the failed request (e.g. , ).

Remarks

Raised by NfFile methods (e.g. arrayBuffer, text) when the underlying fetch call returns a non-OK HTTP response.