pub fn code_of(error: &str) -> CodeExpand description
The problem code of error, from a GameTools method:
codes::NOT_OFFERED if is_unsupported, else
codes::GAME_ERROR.
pub fn code_of(error: &str) -> CodeThe problem code of error, from a GameTools method:
codes::NOT_OFFERED if is_unsupported, else
codes::GAME_ERROR.