export type CoreError = Record; export interface ErrorInternal { coreStatus: number | null; coreError: CoreError | null; } export type RpcError = { error: string; errorInternal: ErrorInternal; }; export interface RpcCoreError extends RpcError { coreErrorType: 'GW_RESPONSE_ERROR' | 'CSOU_RESPONSE_ERROR' }