remove base type, keep primitive type and make hints as unknown optional

This commit is contained in:
Kuldeep
2026-09-11 05:21:16 +00:00
parent 32eca1e016
commit a9d96d7a0d
8 changed files with 492 additions and 541 deletions
+4 -4
View File
@@ -35,12 +35,12 @@ export class CashAssemblyVariableTypeMismatchError extends Error {
}
/**
* Error thrown when a supported primitive hint does not expose the requested method.
* Error thrown when a method resolvable primitive type does not expose the requested method.
*/
export class CashAssemblyPrimitiveMethodMissingError extends Error {
constructor(identifier: string, methodName: string, hint: string) {
constructor(identifier: string, methodName: string, type: string) {
const defaultMessage = 'CashAssembly primitive method does not exist';
super(`${defaultMessage}: identifier "${identifier}", methodName "${methodName}", hint "${hint}"`);
super(`${defaultMessage}: identifier "${identifier}", methodName "${methodName}", type "${type}"`);
}
}
@@ -65,7 +65,7 @@ export class CashAssemblyNumberNotSafeIntegerError extends Error {
}
/**
* Error thrown when a supported primitive is selected but its value is missing when provided in the variables map.
* Error thrown when a method resolvable primitive is selected but its value is missing from the variables map.
*/
export class CashAssemblyPrimitiveVariableMissingError extends Error {
constructor(identifier: string, variableName: string) {