Skip to content

Interactive Tutorial: can't complete Error Handling assignment due to unavoidable error #648

@with-heart

Description

@with-heart

What is the type of issue?

Something else

What is the issue?

When attempting to complete the Error Handling assignment, I receive this error:

Image

_r_r is not defined

This error occurs on the return statement in .onError:

.onError(({ code, status }) => {
		if(code === "NOT_FOUND")
			return ""
	})

The error appears as soon as I type the "" after return.

Copying and pasting the tutorial-provided answer results in the same error.

Where did you find it?

https://elysiajs.com/tutorial/patterns/error-handling/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions