(issue: SchemaIssue.Issue)
| 1246 | class IssueError extends Error { |
| 1247 | readonly issue: SchemaIssue.Issue |
| 1248 | constructor(issue: SchemaIssue.Issue) { |
| 1249 | const stackTraceLimit = getStackTraceLimit() |
| 1250 | setStackTraceLimit(0) |
| 1251 | try { |
| 1252 | super("SchemaBinary failure") |
| 1253 | } finally { |
| 1254 | setStackTraceLimit(stackTraceLimit) |
| 1255 | } |
| 1256 | this.issue = issue |
| 1257 | } |
| 1258 | } |
| 1259 | |
| 1260 | function invalid(expected: string, input?: unknown, options?: SchemaAST.ParseOptions): never { |
nothing calls this directly
no test coverage detected