Enum twig::error::CastError
[−]
[src]
pub enum CastError { FloatIsInfinite(f64), FloatNotANumber(f64), FloatRange(f64), Null, Array, Hash, Object, Function, StringEmpty, StringNotNumerical(String), }
Variants
FloatIsInfinite | Float is infinite, target can not be infinite. |
FloatNotANumber | Float is not a number, target has to be a number. |
FloatRange | Float can not be represented, target does not support the range. |
Null | Null can not be represented. |
Array | Target can not be created from Array. |
Hash | Target is not be created from Hash. |
Object | Target is not be created from Object. |
Function | Target is not be created from Function. |
StringEmpty | Empty string can not be represented. |
StringNotNumerical | String could not be parsed as number. |