Make ErrorWithThrowable a partial function Throwable => ErrorWithThrowable