COLA
Explore posts from serversIssues trying to create new error types
Hello everyone.
I'm trying to create my own extensible error type, based on the RFC 7807.
The idea being, I could override it with sane defaults, and only having to deal with a subset of the arguments
The issue is that, my new
unknownCapabilityException
raises an CS9035, Required member ‘RFC8807Error.title’ must be set in the object initializer or attribute constructor.
(and same for type), even tho it's set in the constructor of unknownCapabilityException
... Any pointer on how I could fix this issue ?15 replies