Packages

Translate gleam applications with locale files

Current section

Files

Jump to
translate src error.erl
Raw

src/error.erl

-module(error).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-export_type([translator_error/0]).
-type translator_error() :: directory_not_set |
directory_not_found |
key_not_found |
language_file_not_found |
{json_error, gleam@json:decode_error()} |
{file_error, simplifile:file_error()}.