2025-03-02 00:41:20 -03:00
|
|
|
local errors = {
|
|
|
|
password_not_matching = "passwords don't match!",
|
|
|
|
password_not_secure = "password is not secure enough!",
|
|
|
|
password_too_short = "password is too short!",
|
|
|
|
password_too_long = "password is too long!",
|
|
|
|
|
|
|
|
wrong_credentials = "wrong credentials... check again.",
|
|
|
|
|
|
|
|
blog_not_found = "blog not found :(",
|
|
|
|
blog_was_deleted = "blog was deleted :(",
|
|
|
|
|
|
|
|
post_not_found = "post not found :("
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
package.loaded["./errors"] = errors
|
|
|
|
|
|
|
|
return errors
|