isValidationError() function
Check if the provided error indicates the server failed to validate input parameters to API.
Signature:
export declare function isValidationError(err: unknown): err is ValidationError;
Parameters
Parameter | Type | Description |
---|---|---|
err | unknown |
Returns:
err is ValidationError
Remarks
The error may be thrown when calling any of the Skygear APIs.