Source code

Revision control

Copy as Markdown

Other Tools

// generated by diplomat-tool
import wasm from "./diplomat-wasm.mjs";
import * as diplomatRuntime from "./diplomat-runtime.mjs";
/**
*/
export class DecimalLimitError {
/** Create `DecimalLimitError` from an object that contains all of `DecimalLimitError`s fields.
* Optional fields do not need to be included in the provided object.
*/
static fromFields(structObj) {
return new DecimalLimitError(structObj);
}
#internalConstructor(structObj) {
if (typeof structObj !== "object") {
throw new Error("DecimalLimitError's constructor takes an object of DecimalLimitError's fields.");
}
return this;
}
constructor(structObj) {
return this.#internalConstructor(...arguments)
}
}