-record(syntax_error, { kind :: molt@types:syntax_error_kind(), path :: list(binary()), span :: molt@types:span() }).