docs: module call response, error codes, remove scenarios
This commit is contained in:
@@ -88,6 +88,10 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
A module business error rejects with `RudderHttpError` (`status` 422) whose
|
||||
`code` is the module's own open string code. The platform codes are
|
||||
`forbidden` and `row_referenced`.
|
||||
|
||||
Invalid client options (missing `baseUrl` / `projectKey`) throw `RudderError`
|
||||
with `code: 'sdk/invalid-options'` from the constructor.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user