Hi,
I'm building a REST API using Pyramid and Cornice for which I defined
custom view predicates. By default, an HTTP NotFound error is raised when a
predicate is not verified. Is there a way to raise a custom error, like an
HTTP Unauthorized or HTTP Forbidden?

Best regards,
Thierry
-- 
  https://www.ulthar.net -- http://pyams.readthedocs.io

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/pylons-discuss/CAPX_VWAa46kYQZeh3-vsS5xB2XCrdL_P73xOew8xf-AgoefrNw%40mail.gmail.com.

Reply via email to