@codama/errors
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -28,32 +28,32 @@ /** | ||
*/ | ||
export declare const CODAMA_ERROR__UNRECOGNIZED_NODE_KIND: 1; | ||
export declare const CODAMA_ERROR__UNEXPECTED_NODE_KIND: 2; | ||
export declare const CODAMA_ERROR__UNEXPECTED_NESTED_NODE_KIND: 3; | ||
export declare const CODAMA_ERROR__LINKED_NODE_NOT_FOUND: 4; | ||
export declare const CODAMA_ERROR__NODE_FILESYSTEM_FUNCTION_UNAVAILABLE: 5; | ||
export declare const CODAMA_ERROR__VERSION_MISMATCH: 6; | ||
export declare const CODAMA_ERROR__UNRECOGNIZED_NUMBER_FORMAT: 7; | ||
export declare const CODAMA_ERROR__UNRECOGNIZED_BYTES_ENCODING: 8; | ||
export declare const CODAMA_ERROR__ENUM_VARIANT_NOT_FOUND: 9; | ||
export declare const CODAMA_ERROR__DISCRIMINATOR_FIELD_NOT_FOUND: 10; | ||
export declare const CODAMA_ERROR__DISCRIMINATOR_FIELD_HAS_NO_DEFAULT_VALUE: 11; | ||
export declare const CODAMA_ERROR__VISITORS__CANNOT_ADD_DUPLICATED_PDA_NAMES: 1200000; | ||
export declare const CODAMA_ERROR__VISITORS__INVALID_PDA_SEED_VALUES: 1200001; | ||
export declare const CODAMA_ERROR__VISITORS__CYCLIC_DEPENDENCY_DETECTED_WHEN_RESOLVING_INSTRUCTION_DEFAULT_VALUES: 1200002; | ||
export declare const CODAMA_ERROR__VISITORS__CANNOT_USE_OPTIONAL_ACCOUNT_AS_PDA_SEED_VALUE: 1200003; | ||
export declare const CODAMA_ERROR__VISITORS__INVALID_INSTRUCTION_DEFAULT_VALUE_DEPENDENCY: 1200004; | ||
export declare const CODAMA_ERROR__VISITORS__ACCOUNT_FIELD_NOT_FOUND: 1200005; | ||
export declare const CODAMA_ERROR__VISITORS__INVALID_NUMBER_WRAPPER: 1200006; | ||
export declare const CODAMA_ERROR__VISITORS__CANNOT_EXTEND_MISSING_VISIT_FUNCTION: 1200007; | ||
export declare const CODAMA_ERROR__VISITORS__FAILED_TO_VALIDATE_NODE: 1200008; | ||
export declare const CODAMA_ERROR__VISITORS__INSTRUCTION_ENUM_ARGUMENT_NOT_FOUND: 1200009; | ||
export declare const CODAMA_ERROR__VISITORS__CANNOT_FLATTEN_STRUCT_WITH_CONFLICTING_ATTRIBUTES: 1200010; | ||
export declare const CODAMA_ERROR__VISITORS__RENDER_MAP_KEY_NOT_FOUND: 1200011; | ||
export declare const CODAMA_ERROR__VISITORS__CANNOT_REMOVE_LAST_PATH_IN_NODE_STACK: 1200012; | ||
export declare const CODAMA_ERROR__ANCHOR__UNRECOGNIZED_IDL_TYPE: 2100000; | ||
export declare const CODAMA_ERROR__ANCHOR__ACCOUNT_TYPE_MISSING: 2100001; | ||
export declare const CODAMA_ERROR__ANCHOR__ARGUMENT_TYPE_MISSING: 2100002; | ||
export declare const CODAMA_ERROR__ANCHOR__TYPE_PATH_MISSING: 2100003; | ||
export declare const CODAMA_ERROR__ANCHOR__SEED_KIND_UNIMPLEMENTED: 2100004; | ||
export declare const CODAMA_ERROR__RENDERERS__UNSUPPORTED_NODE: 2800000; | ||
export declare const CODAMA_ERROR__UNRECOGNIZED_NODE_KIND = 1; | ||
export declare const CODAMA_ERROR__UNEXPECTED_NODE_KIND = 2; | ||
export declare const CODAMA_ERROR__UNEXPECTED_NESTED_NODE_KIND = 3; | ||
export declare const CODAMA_ERROR__LINKED_NODE_NOT_FOUND = 4; | ||
export declare const CODAMA_ERROR__NODE_FILESYSTEM_FUNCTION_UNAVAILABLE = 5; | ||
export declare const CODAMA_ERROR__VERSION_MISMATCH = 6; | ||
export declare const CODAMA_ERROR__UNRECOGNIZED_NUMBER_FORMAT = 7; | ||
export declare const CODAMA_ERROR__UNRECOGNIZED_BYTES_ENCODING = 8; | ||
export declare const CODAMA_ERROR__ENUM_VARIANT_NOT_FOUND = 9; | ||
export declare const CODAMA_ERROR__DISCRIMINATOR_FIELD_NOT_FOUND = 10; | ||
export declare const CODAMA_ERROR__DISCRIMINATOR_FIELD_HAS_NO_DEFAULT_VALUE = 11; | ||
export declare const CODAMA_ERROR__VISITORS__CANNOT_ADD_DUPLICATED_PDA_NAMES = 1200000; | ||
export declare const CODAMA_ERROR__VISITORS__INVALID_PDA_SEED_VALUES = 1200001; | ||
export declare const CODAMA_ERROR__VISITORS__CYCLIC_DEPENDENCY_DETECTED_WHEN_RESOLVING_INSTRUCTION_DEFAULT_VALUES = 1200002; | ||
export declare const CODAMA_ERROR__VISITORS__CANNOT_USE_OPTIONAL_ACCOUNT_AS_PDA_SEED_VALUE = 1200003; | ||
export declare const CODAMA_ERROR__VISITORS__INVALID_INSTRUCTION_DEFAULT_VALUE_DEPENDENCY = 1200004; | ||
export declare const CODAMA_ERROR__VISITORS__ACCOUNT_FIELD_NOT_FOUND = 1200005; | ||
export declare const CODAMA_ERROR__VISITORS__INVALID_NUMBER_WRAPPER = 1200006; | ||
export declare const CODAMA_ERROR__VISITORS__CANNOT_EXTEND_MISSING_VISIT_FUNCTION = 1200007; | ||
export declare const CODAMA_ERROR__VISITORS__FAILED_TO_VALIDATE_NODE = 1200008; | ||
export declare const CODAMA_ERROR__VISITORS__INSTRUCTION_ENUM_ARGUMENT_NOT_FOUND = 1200009; | ||
export declare const CODAMA_ERROR__VISITORS__CANNOT_FLATTEN_STRUCT_WITH_CONFLICTING_ATTRIBUTES = 1200010; | ||
export declare const CODAMA_ERROR__VISITORS__RENDER_MAP_KEY_NOT_FOUND = 1200011; | ||
export declare const CODAMA_ERROR__VISITORS__CANNOT_REMOVE_LAST_PATH_IN_NODE_STACK = 1200012; | ||
export declare const CODAMA_ERROR__ANCHOR__UNRECOGNIZED_IDL_TYPE = 2100000; | ||
export declare const CODAMA_ERROR__ANCHOR__ACCOUNT_TYPE_MISSING = 2100001; | ||
export declare const CODAMA_ERROR__ANCHOR__ARGUMENT_TYPE_MISSING = 2100002; | ||
export declare const CODAMA_ERROR__ANCHOR__TYPE_PATH_MISSING = 2100003; | ||
export declare const CODAMA_ERROR__ANCHOR__SEED_KIND_UNIMPLEMENTED = 2100004; | ||
export declare const CODAMA_ERROR__RENDERERS__UNSUPPORTED_NODE = 2800000; | ||
/** | ||
@@ -60,0 +60,0 @@ * A union of every Codama error code |
{ | ||
"name": "@codama/errors", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Error management for Codama", | ||
@@ -42,4 +42,4 @@ "exports": { | ||
"commander": "^12.1.0", | ||
"chalk": "^5.3.0", | ||
"@codama/node-types": "1.1.0" | ||
"chalk": "^5.4.1", | ||
"@codama/node-types": "1.2.0" | ||
}, | ||
@@ -46,0 +46,0 @@ "license": "MIT", |
@@ -78,7 +78,7 @@ # Codama ➤ Errors | ||
- Don't remove errors. | ||
- Don't change the meaning of an error message. | ||
- Don't change or reorder error codes. | ||
- Don't change or remove members of an error's context. | ||
- Don't remove errors. | ||
- Don't change the meaning of an error message. | ||
- Don't change or reorder error codes. | ||
- Don't change or remove members of an error's context. | ||
When an older client throws an error, we want to make sure that they can always decode the error. If you make any of the changes above, old clients will, by definition, not have received your changes. This could make the errors that they throw impossible to decode going forward. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
826
287027
+ Added@codama/node-types@1.2.0(transitive)
- Removed@codama/node-types@1.1.0(transitive)
Updated@codama/node-types@1.2.0
Updatedchalk@^5.4.1