Forward-compatible MonadFail class