Skip to main content

Module error

Module error 

Source
Expand description

C-compatible (#[repr(C)]) error types for CSS parsing failures.

Mirrors core::num::ParseFloatError and core::num::ParseIntError for FFI use, and provides generic invalid-value error wrappers.

Structs§

InvalidValueErr
Simple “invalid value” error, used for basic parsing failures
InvalidValueErrOwned
Owned version of InvalidValueErr with AzString.
ParseFloatErrorWithInput
Wrapper for a ParseFloatError paired with the input string that failed. Used by multiple Owned error enums that need to store both the error and input.
WrongComponentCountError
Wrapper for WrongNumberOfComponents errors in CSS filter/transform parsing.

Enums§

ParseFloatError
C-compatible enum mirroring core::num::ParseFloatError internals.
ParseIntError
C-compatible enum mirroring core::num::ParseIntError internals.