MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / get_err_msg

Method get_err_msg

src/execution/logger.rs:20–29  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

18
19impl ProgramError {
20 pub fn get_err_msg(&self) -> String {
21 match self {
22 ProgramError::Syntax(msg) => format!("\nSyntax Error: \n{msg}"),
23 ProgramError::Link(msg) => format!("\nLink Error: \n{msg}"),
24 ProgramError::Execute(msg) => format!("\nExecute Error: \n{msg}"),
25 ProgramError::Fuzzer(msg) => format!("\nFuzzer Error: \n{msg}"),
26 ProgramError::Coverage(msg) => format!("\nCoverage Error: \n{msg}"),
27 ProgramError::Hang(msg) => format!("\nExecuted Hang!: \n{msg}"),
28 }
29 }
30}
31
32pub enum AsanError {

Callers 3

save_err_programMethod · 0.80
is_atrifact_reproducibleFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected