pub fn assert_internal_error<T>(result: Result<T>)Expand description
Assert that a result is an Internal error
§Examples
use reinhardt_testkit::assertions::assert_internal_error;
use reinhardt_http::{Error, Result};
let result: Result<()> = Err(Error::Internal("Database connection failed".to_string()));
assert_internal_error(result);§Panics
Panics if result is Ok or a different error type.