Enum swf_headers::Error
[−]
[src]
pub enum Error { IoError(Error), NotSwf, }
The error type used by swf-headers.
Anything that could be considered a malformed or corrupt SWF falls into the broad category of NotSwf, along with everything else that can't be a SWF file. This may change in the future
Implementations of From for a couple of error types are done to make using try!() around the place more convenient.
Variants
IoError | Any IO error, either from directly reading files or from other libraries. |
NotSwf | All-encompassing variant for anything that can't be a swf file. |