Skip to main content

code_of

Function code_of 

Source
pub fn code_of(error: &str) -> Code
Expand description

The problem code of error, from a GameTools method: codes::NOT_OFFERED if is_unsupported, else codes::GAME_ERROR.