change the type of Xbyak::Error from enum to a class