artichoke / strftime-ruby

⏳ Ruby `Time#strftime` parser and formatter
https://crates.io/crates/strftime-ruby
MIT License
12 stars 0 forks source link

Propagate inner core::fmt::Error #61

Closed lopopolo closed 2 years ago

lopopolo commented 2 years ago

This will allow std::error::Chain to include backtrace information for the source error.

Given that we've taken this approach with Error::IoError and Error::OutOfMemory, making this change to be consistent.