define MktoRest::Error (capture error code)