A base interface for representing known application exceptions which should be sent to the client when thrown.
A function that converts this exception to a next/server#NextResponse containing information about the exception.
A base interface for representing known application exceptions which should be sent to the client when thrown.