Type Alias: ErrorCode
ErrorCode =
"dictionary-load"|"segmentation"|"invalid-reading"|"html-scan"|"html-malformed-attr"|"markdown"|"unsupported-content-type"|"invalid-input"|"io"|"internal"|"other"
Discriminant code carried by every GukhanmunError.
"dictionary-load"— A dictionary file could not be opened, read, or decoded."segmentation"— The lattice segmenter encountered an internal inconsistency."invalid-reading"— A dictionary entry's hangul reading is not valid hangul."html-scan"— The HTML scanner encountered an unrecoverable error."html-malformed-attr"— An HTML attribute string could not be parsed."markdown"— The Markdown adapter encountered a parsing error."unsupported-content-type"— An unrecognised format string was passed toconvertorstream."invalid-input"— An option value is not in the expected set (e.g. an unrecognised preset or render mode string)."io"— An I/O error occurred (file read, network, …)."internal"— An internal invariant was violated; this is a bug."other"— Any other error not covered by the above codes.