Contains information about an error that occurred in ObjectParserProp.
| 84 | |
| 85 | /** Contains information about an error that occurred in ObjectParserProp. */ |
| 86 | class 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) |
nothing calls this directly
no outgoing calls
no test coverage detected