Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: PanicMessageWriter #122

Closed
wants to merge 1 commit into from
Closed

Conversation

tisonkun
Copy link
Contributor

This closes #54.

@tisonkun tisonkun mentioned this pull request Nov 22, 2023
Signed-off-by: tison <wander4096@gmail.com>
Comment on lines +194 to +203
pub trait PanicMessageWriter {
fn write_panic_msg<P: AsRef<Path>, W: Write>(
&self,
buffer: &mut W,
file_path: Option<&P>,
meta: &Metadata,
) -> IoResult<()>;
}

pub struct DefaultPanicMessageWriter;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming/Signature should be improved.

@epage epage marked this pull request as draft November 27, 2023 21:58
@tisonkun tisonkun closed this Apr 16, 2024
@tisonkun tisonkun deleted the printer branch April 16, 2024 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom error message
1 participant