yash-arith-0.2.0
·
971 commits
to master
since this release
[0.2.0] - 2023-09-10
Added
TokenError
,SyntaxError
,EvalError
,ErrorCause
, andError
now implementstd::error::Error
.
Changed
- Variable access is now fallible.
- Added associated type
GetVariableError
toEnv
. - Changed the return type of
Env::get_variable
fromOption<&str>
toResult<Option<&str>, GetVariableError>
. Error
,EvalError
andErrorCause
now take two type parameters, the first of which is forGetVariableError
.- Changed the return type of
eval
fromResult<Value, Error<E::AssignVariableError>>
toResult<Value, Error<E::GetVariableError, E::AssignVariableError>>
.
- Added associated type
- Internal dependency versions
- thiserror 1.0.43 → 1.0.47