-record(error, {kind :: xdgleam:error_kind()}).