theta-client-react-native
Version:
This library provides a way to control RICOH THETA using.
15 lines • 597 B
TypeScript
export declare class ThetaWebApiError extends Error {
statusCode?: number;
errorCode?: string;
moduleError?: Error;
constructor(message: Error['message'], statusCode?: number, errorCode?: string, e?: unknown);
}
/**
* Normalize a native bridge error into Error with THETA Web API details.
*
* If THETA Web API details are not available, returns the original Error when
* possible, otherwise creates a generic Error.
* String errors are returned as-is.
*/
export declare function normalizeNativeError(error: unknown): unknown;
//# sourceMappingURL=theta-web-api-error.d.ts.map