@leancodepl/kratos
Version:
Headless React components library for building Ory Kratos authentication flows
23 lines • 866 B
TypeScript
import { GenericErrorContent } from './GenericErrorContent';
/**
* The standard Ory JSON API error format.
* @export
* @interface ErrorGeneric
*/
export interface ErrorGeneric {
/**
*
* @type {GenericErrorContent}
* @memberof ErrorGeneric
*/
error: GenericErrorContent;
}
/**
* Check if a given object implements the ErrorGeneric interface.
*/
export declare function instanceOfErrorGeneric(value: object): value is ErrorGeneric;
export declare function ErrorGenericFromJSON(json: any): ErrorGeneric;
export declare function ErrorGenericFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorGeneric;
export declare function ErrorGenericToJSON(json: any): ErrorGeneric;
export declare function ErrorGenericToJSONTyped(value?: ErrorGeneric | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=ErrorGeneric.d.ts.map