mirror of
https://github.com/lune-org/lune.git
synced 2025-05-04 10:43:57 +01:00
fixed wrong error message
This commit is contained in:
parent
42f5688993
commit
c6a1808e71
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ mod path;
|
||||||
pub enum RequireError {
|
pub enum RequireError {
|
||||||
#[error("failed to find RequireContextData in the app data container, make sure to call RequireContext::init first")]
|
#[error("failed to find RequireContextData in the app data container, make sure to call RequireContext::init first")]
|
||||||
RequireContextNotFound,
|
RequireContextNotFound,
|
||||||
#[error("make sure to call RequireContext::init")]
|
#[error("RequireContext::init has been called twice on the same Lua instance")]
|
||||||
RequireContextInitCalledTwice,
|
RequireContextInitCalledTwice,
|
||||||
#[error("Can not require '{0}' as it does not exist")]
|
#[error("Can not require '{0}' as it does not exist")]
|
||||||
InvalidRequire(String),
|
InvalidRequire(String),
|
||||||
|
|
Loading…
Add table
Reference in a new issue