lustre-labs / lustre

A Gleam web framework for building HTML templates, single page applications, and real-time server components.
https://hexdocs.pm/lustre
MIT License
950 stars 65 forks source link

♻️ Add more context to existing `Error` type. #38

Closed hayleigh-dot-dev closed 8 months ago

hayleigh-dot-dev commented 8 months ago

Lustre's Error type has a few error variants that would be much more helpful for folks if they provided some additional context:

We should wait for the Lustre Server Component branch to be merged in to main before we work on this. This will need to touch some of the FFI code in order to work properly (these errors are constructed in JavaScript)