Skip to content
On this page

Home > sncf.js > defineRequestError

defineRequestError() function

Signature:

typescript
export declare function defineRequestError(response: any): {
    [x: string]: any;
    readonly name: string;
};

Parameters

Parameter

Type

Description

response

any

**Returns:**

{ [x: string]: any; readonly name: string; }