The Wayback Machine - https://web.archive.org/web/20220403083853/https://github.com/topics/remix
Skip to content
#

remix

Here are 432 public repositories matching this topic...

svemix
pixelmund
pixelmund commented Feb 20, 2022

Describe the bug

Currently there is no easy way to throw errors inside loaders/actions. We should probably come up with an easy to use solution.

I have something like the following in my head:

<script context="module" ssr>
  import {  NotFoundError, HttpError } from "svemix/errors"
  export const loader = () => {
    throw new NotFoundError("User not found").
    throw n
enhancement good first issue

Improve this page

Add a description, image, and links to the remix topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the remix topic, visit your repo's landing page and select "manage topics."

Learn more