Modify all panicking special functions to return Result to be more in accordance with [RFC 236](https://github.com/rust-lang/rfcs/pull/236)
Modify all panicking special functions to return Result to be more in accordance with RFC 236