MCPcopy Create free account
hub / github.com/apache/datafusion / context

Method context

datafusion/common/src/error.rs:459–461  ·  view source on GitHub ↗

wraps self in Self::Context with a description

(self, description: impl Into<String>)

Source from the content-addressed store, hash-verified

457
458 /// wraps self in Self::Context with a description
459 pub fn context(self, description: impl Into<String>) -> Self {
460 Self::Context(description.into(), Box::new(self))
461 }
462
463 /// Strips backtrace out of the error message
464 /// If backtrace enabled then error has a format "message" [`Self::BACK_TRACE_SEP`] "backtrace"

Callers 15

try_newMethod · 0.80
add_fileMethod · 0.80
read_dirFunction · 0.80
rewrite_placeholderFunction · 0.80
compute_array_to_stringFunction · 0.80
err_with_oom_contextMethod · 0.80
new_from_filesMethod · 0.80
newMethod · 0.80
extract_dml_filtersFunction · 0.80
f_downMethod · 0.80

Calls 3

newFunction · 0.85
ContextClass · 0.50
intoMethod · 0.45

Tested by 2

runMethod · 0.64
run_testsFunction · 0.64