MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/splashsurf / with_append

Method with_append

splashsurf_lib/src/io/bgeo_format.rs:774–777  ·  view source on GitHub ↗

Appends an error to the backtrace with the given input and error kind and returns self

(mut self, input: I, kind: BgeoParserErrorKind)

Source from the content-addressed store, hash-verified

772
773 /// Appends an error to the backtrace with the given input and error kind and returns self
774 pub fn with_append(mut self, input: I, kind: BgeoParserErrorKind) -> Self {
775 self.backtrace.push((input, kind));
776 self
777 }
778
779 /// Appends a context message to the backtrace and return self
780 pub fn with_context<S: Into<Cow<'static, str>>>(self, input: I, ctx: S) -> Self {

Callers 3

with_contextMethod · 0.80
appendMethod · 0.80
bgeo_errorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected