HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

Node.js SDK - RainwayError.(constructor)

Home > rainway-sdk-native > RainwayError > (constructor)

RainwayError.(constructor)

Constructs a new instance of the RainwayError class

Signature:

constructor(status: RainwayStatus, message?: string);

Parameters

ParameterTypeDescription
statusRainwayStatus
messagestring