Add `rusttype::Error`, for `FontCollection` and `Font` operations.
Created by: jimblandy
This is part of the work for issue #84 (closed), making rusttype handle errors in a more rustic fashion.
- Introduce
rusttype::Error
, which implementsstd::error::Error
,Debug
andDisplay
, and can be converted tostd::io::Error
. - Introduce
rusttype::Result
. - Use
Result
to report failure inFontCollection
,Font
, and associated iterators.