MCPcopy Index your code
hub / github.com/assert-rs/assert_cmd / into_error

Method into_error

src/assert.rs:108–113  ·  view source on GitHub ↗
(self, reason: AssertReason)

Source from the content-addressed store, hash-verified

106 }
107
108 fn into_error(self, reason: AssertReason) -> AssertError {
109 AssertError {
110 assert: self,
111 reason,
112 }
113 }
114
115 /// Clarify failures with additional context.
116 ///

Callers 6

try_successMethod · 0.80
try_failureMethod · 0.80
try_interruptedMethod · 0.80
code_implMethod · 0.80
stdout_implMethod · 0.80
stderr_implMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected