Skip to content
Snippets Groups Projects
  • Michael Hanselmann's avatar
    errors: Add exception for RAPI testing utilities · 352e1a26
    Michael Hanselmann authored
    
    This exception is raised to abort before actually sending a LUXI call
    (there is no LUXI server involved in the test). The testing utilities
    catch the exception to report a success (i.e. the code didn't throw
    an exception before due to invalid types, etc.). To allow the exception
    to be thrown all the way to the test utilities, the HTTP server library
    must ignore it. Also some overly generic exception handling is removed
    from the RAPI request handler.
    
    Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
    Reviewed-by: default avatarIustin Pop <iustin@google.com>
    352e1a26