Variable $AptosErrorConst
$AptosError: {
description: "This is the generic struct we use for all API errors, it contains a string\n message and an Aptos API specific error code.";
properties: {
error_code: {
isRequired: true;
type: "AptosErrorCode";
};
message: {
description: "A message describing the error";
isRequired: true;
type: "string";
};
vm_error_code: {
description: "A code providing VM error details when submitting transactions to the VM";
format: "uint64";
type: "number";
};
};
} = ...
Type declaration
-
description: "This is the generic struct we use for all API errors, it contains a string\n message and an Aptos API specific error code."
-
properties: {
error_code: {
isRequired: true;
type: "AptosErrorCode";
};
message: {
description: "A message describing the error";
isRequired: true;
type: "string";
};
vm_error_code: {
description: "A code providing VM error details when submitting transactions to the VM";
format: "uint64";
type: "number";
};
}
-
error_code: {
isRequired: true;
type: "AptosErrorCode";
}
-
isRequired: true
-
type: "AptosErrorCode"
-
message: {
description: "A message describing the error";
isRequired: true;
type: "string";
}
-
description: "A message describing the error"
-
isRequired: true
-
type: "string"
-
vm_error_code: {
description: "A code providing VM error details when submitting transactions to the VM";
format: "uint64";
type: "number";
}
-
description: "A code providing VM error details when submitting transactions to the VM"
-
format: "uint64"
-
type: "number"