Skip to content

docs for Error #46

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

Merged
merged 1 commit into from
Feb 17, 2023
Merged

docs for Error #46

merged 1 commit into from
Feb 17, 2023

Conversation

zth
Copy link
Collaborator

@zth zth commented Feb 17, 2023

No description provided.

@zth zth requested a review from cknitt February 17, 2023 14:56
/** Represents a JavaScript exception. */
type t = Js.Exn.t

external fromException: exn => option<t> = "?as_js_exn"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Leaving this right now because I quite frankly don't fully understand why it does, or rather when I'd use it.

@zth zth mentioned this pull request Feb 17, 2023
49 tasks
Copy link
Contributor

@cristianoc cristianoc left a comment

Choose a reason for hiding this comment

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

I think this checks if an exception is a js exception (as opposed to a ReScript one)

@zth zth merged commit 371b8f3 into main Feb 17, 2023
@zth zth deleted the docs-error branch February 17, 2023 18:46
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.

3 participants