You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[`ValidationErrorDto`](docs/models/errors/validationerrordto.md): Unprocessable Entity. Status code `422`.
548
-
*`SDKError`: The fallback error class, if no other more specific error class is matched.
549
-
*`SDKValidationError`: Type mismatch between the data returned from the server and the structure expected by the SDK. This can also be thrown for invalid method arguments. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
550
-
* Network errors:
551
-
*`ConnectionError`: HTTP client was unable to make a request to a server.
552
-
*`RequestTimeoutError`: HTTP request timed out due to an AbortSignal signal.
553
-
*`RequestAbortedError`: HTTP request was aborted by the client.
554
-
*`InvalidRequestError`: Any input used to create a request is invalid.
555
-
*`UnexpectedClientError`: Unrecognised or unexpected error.
556
-
* Less common errors, applicable to a subset of methods:
557
-
*[`PayloadValidationExceptionDto`](docs/models/errors/payloadvalidationexceptiondto.md): Status code `400`. Applicable to 3 of 42 methods.*
577
+
**Primary errors:**
578
+
*[`NovuError`](./src/models/errors/novuerror.ts): The base class for HTTP error responses.
*[`ValidationErrorDto`](docs/models/errors/validationerrordto.md): Unprocessable Entity. Status code `422`.
581
+
582
+
<details><summary>Less common errors (7)</summary>
583
+
584
+
<br />
585
+
586
+
**Network errors:**
587
+
*[`ConnectionError`](./src/models/errors/httpclienterrors.ts): HTTP client was unable to make a request to a server.
588
+
*[`RequestTimeoutError`](./src/models/errors/httpclienterrors.ts): HTTP request timed out due to an AbortSignal signal.
589
+
*[`RequestAbortedError`](./src/models/errors/httpclienterrors.ts): HTTP request was aborted by the client.
590
+
*[`InvalidRequestError`](./src/models/errors/httpclienterrors.ts): Any input used to create a request is invalid.
591
+
*[`UnexpectedClientError`](./src/models/errors/httpclienterrors.ts): Unrecognised or unexpected error.
558
592
559
593
594
+
**Inherit from [`NovuError`](./src/models/errors/novuerror.ts)**:
595
+
*[`PayloadValidationExceptionDto`](docs/models/errors/payloadvalidationexceptiondto.md): Status code `400`. Applicable to 3 of 54 methods.*
596
+
*[`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
597
+
598
+
</details>
599
+
560
600
\* Check [the method documentation](#available-resources-and-operations) to see if the error is applicable.
|`enabled`|*boolean*|:heavy_minus_sign:| A flag specifying if notification delivery is enabled for the channel. If true, notification delivery is enabled. |
0 commit comments