d2lang/d2
Documented errors, page 2 of 2. Back to d2lang/d2
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| edgeKey must be an edge | exception | error | d2, d2oracle, edge, input-validation |
| unsupported content encoding | validation | error | http, compression, content-encoding, go |
| checksum error in table | exception | error | font, woff, checksum, corruption |
| edge key must be reserved | exception | error | edge, reserved-keywords, api-misuse, d2 |
| invalid kern table: too short | validation | error | font, kern, truncated-file |
| spaces are not allowed in blockstring tags | validation | error | go, d2, blockstring, validation |
| empty key | exception | error | d2, parser, empty-input |
| board " " not found | validation | error | d2, lsp, board, not-found |
| expected "double-border" to be true or false | exception | error | d2, validation, style, boolean-parse |
| parent "_" can only be used in the beginning of paths, e.g… | exception | error | d2, path-resolution, syntax |
| Object " " has attribute "top" and/or "left" set, but… | validation | error | layout, feature-check, d2 |
| board not found | validation | error | d2, oracle, board, not-found |
| can only set one edge at a time | exception | error | edge, api-misuse, d2 |
| Failed to decompress SourceCodePro-Regular | panic | critical | wasm, fonts, brotli, init-panic |
| failed to run Playwright | exception | error | go, playwright, chromium, runtime, dependencies |
| stderr | exception | error | plugin, exec, stderr |
| Failed to decompress SourceCodePro-Semibold | panic | critical | wasm, fonts, brotli, init-panic |
| failed to encode ttf to woff | exception | error | fonts, encoding, woff |
| failed to fully compile (partial render written) | exception | error | go, cli, compile, render |
| " " is invalid | validation | error | d2, lsp, parsing, invalid-input |
| invalid use of parent "_" | exception | error | d2, path-resolution, syntax |
| " " not found | validation | error | d2, lsp, filesystem, missing-file |
| newDst not found | exception | error | graph, edge, node-lookup, d2 |
| expected "3d" to be true or false | exception | error | d2, style-validation, boolean-parsing, strconv |
| actors in sequence diagrams cannot themselves be sequence… | validation | error | d2, sequence-diagram, nesting, unsupported |
| decode diagram hash JSON: got closing token | exception | error | json, hashing, structure |
| expected "border-radius" to be a number greater or equal to… | validation | error | validation, d2graph, numeric, style |
| empty value | exception | error | d2, parser, empty-input |
| expected "font-color" to be a valid named color ("orange")… | exception | error | d2, style-validation, color, font-color |
| expected "fill" to be a valid named color ("orange"), a hex… | validation | error | validation, d2graph, color, style |
| failed to %scompile | exception | error | watch-mode, compile, d2-syntax |
| unsupported kern table coverage 0x%04x | validation | warning | font, kern, unsupported-format |
| cannot read a directory | exception | error | go, filesystem, memfs, io |
| Failed to decompress SourceSansPro-Italic | panic | critical | wasm, fonts, brotli, init-panic |
| expected "font-size" to be a number between 8 and 100 | exception | error | d2, style-validation, font-size, range-check |
| invalid font collection | validation | error | font, ttc, corrupt-file |
| Connection " " is a self loop on a container, but layout… | validation | error | layout, feature-check, self-loop |
| Failed to decompress SourceSansPro-Semibold | panic | critical | wasm, fonts, brotli, init-panic |
| failed to read font at | exception | error | cli, fonts, filesystem |
| native ELK layout failed | exception | error | elk, layout, native, layout-engine |
| unsupported kern table version | validation | error | font, kern, unsupported-version |
| failed to decompress | exception | error | compression, brotli, decoding |
| invalid sfnt: too short | validation | error | font, sfnt, truncated-file |
| no actors declared in sequence diagram | exception | error | d2, sequence-diagram, layout |
| no available layout | exception | error | d2, layout, configuration |
| key does not exist | exception | error | d2, rename, key-not-found |
| chromium installation cancelled by user | exception | warning | go, user-input, cancelled, prompt, consent |
| expected "fill-pattern" to be one of | validation | error | validation, d2graph, style, enum |
| failed to compile | exception | error | go, cli, compile, error-wrapping |
| Failed to decompress SourceCodePro-Bold | panic | critical | wasm, fonts, brotli, init-panic |
| failed to unmarshal json | exception | error | plugin, json, unmarshal |
| render target " " not found | exception | error | go, cli, board, validation |
| invalid kern table: no subtables | validation | error | font, kern, malformed-font |
| is not a supported format. Supported formats are | validation | error | go, cli, format, validation |
| Connection " " goes from a container to a descendant, but… | validation | error | layout, feature-check, edges |
| expected "multiple" to be true or false | exception | error | d2, style-validation, boolean-parsing, strconv |
| expected "text-transform" to be one of | validation | error | d2, style-validation, text-transform |
| unknown style key | validation | error | d2, style-validation, unknown-key |
| failed to unmarshal input to graph | exception | error | plugin, json, stdin, deserialization |
| parent "_" cannot be used in the root scope | exception | error | d2, path-resolution, scope |
| expected "animated" to be true or false | exception | error | d2, style-validation, boolean-parsing, strconv |
| empty map key | exception | error | d2, parser, empty-input |
| " " is not a valid font in our system | validation | error | d2, style-validation, fonts |
| expected "underline" to be true or false | exception | error | d2, style-validation, boolean-parsing, strconv |
| can only delete one edge at a time | exception | error | edge, delete, api-misuse, d2 |
| error reading from stdin | exception | error | cli, stdin, io |
| expected "filled" to be true or false | exception | error | d2, style-validation, boolean-parsing, strconv |
| failed to unmarshal input graph to graph | exception | error | plugin, json, deserialization, routing |
| expected "bold" to be true or false | exception | error | d2, style-validation, boolean-parsing, strconv |
| Object " " has "near" set to another object, but layout… | validation | error | layout, feature-check, near |
| expected "italic" to be true or false | exception | error | d2, style-validation, boolean-parsing, strconv |
| expected "stroke-width" to be a number between 0 and 15 | validation | error | validation, d2graph, numeric, style |
| expected "stroke-dash" to be a number between 0 and 10 | validation | error | validation, d2graph, numeric, style |