Skip to content

Impl. a custom error type#7

Merged
lum1n0us merged 2 commits intobytecodealliance:mainfrom
lum1n0us:feat/impl_custom_error_type
Mar 11, 2024
Merged

Impl. a custom error type#7
lum1n0us merged 2 commits intobytecodealliance:mainfrom
lum1n0us:feat/impl_custom_error_type

Conversation

@lum1n0us
Copy link
Collaborator

@lum1n0us lum1n0us commented Mar 8, 2024

No description provided.

@lum1n0us lum1n0us mentioned this pull request Mar 8, 2024
5 tasks
impl fmt::Display for RuntimeError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match self {
RuntimeError::NotImplemented => write!(f, "Not implemented"),
Copy link
Collaborator

Choose a reason for hiding this comment

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

How about "Unknown error"

@lum1n0us lum1n0us merged commit 7dcdd70 into bytecodealliance:main Mar 11, 2024
@lum1n0us lum1n0us deleted the feat/impl_custom_error_type branch March 11, 2024 01:43
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.

2 participants