()
| 100 | |
| 101 | #[test] |
| 102 | fn new_err_code_msg_is_explicit() { |
| 103 | let e = CodeError::new_err_code_msg(123, "custom"); |
| 104 | assert_eq!(e.get_err_code(), 123); |
| 105 | assert_eq!(e.get_err_msg(), "custom"); |
| 106 | } |
| 107 | |
| 108 | #[test] |
| 109 | fn new_err_msg_uses_error_code() { |
nothing calls this directly
no outgoing calls
no test coverage detected