e.g.
import * as Server from '@ucanto/server'
class StoreItemNotFound extends Server.Failure {
get name () {
return 'StoreItemNotFound'
}
}
In a handler, returning new StoreItemNotFound() will cause a Maximum call stack size exceeded error, since Server.Failure's getter for message calls describe(), which calls toString(), which by default will access message i.e. a loop:
