aptos
Version:
23 lines (19 loc) • 524 B
text/typescript
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { AptosErrorCode } from './AptosErrorCode';
/**
* This is the generic struct we use for all API errors, it contains a string
* message and an Aptos API specific error code.
*/
export type AptosError = {
/**
* A message describing the error
*/
message: string;
error_code: AptosErrorCode;
/**
* A code providing VM error details when submitting transactions to the VM
*/
vm_error_code?: number;
};