MCPcopy Index your code
hub / github.com/FlashpointProject/launcher / ObjectParserError

Class ObjectParserError

src/shared/utils/ObjectParser.ts:86–98  ·  view source on GitHub ↗

Contains information about an error that occurred in ObjectParserProp.

Source from the content-addressed store, hash-verified

84
85/** Contains information about an error that occurred in ObjectParserProp. */
86class ObjectParserError implements IObjectParserError {
87 public stack: string[];
88 public message: string;
89
90 constructor(stack: string[], message: string) {
91 this.stack = stack;
92 this.message = message;
93 }
94
95 toString(): string {
96 return `${this.message} (stack: "${stackToString(this.stack)}")`;
97 }
98}
99
100/**
101 * A wrapper around a single value (usually a property of an object/array)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected