Skip to content

Resolve "Implement the error message according to the specification"

Jacopo Gasparetto requested to merge error-handling into main

Closes #6 (closed)

Implements RFC7807 "Problem Details for HTTP APIs".

  • Add custom exceptions inheriting from a base storm::Exception class.
  • All known exceptions are returned as detailed json in http responses with the Content-Type: application/problem+json header.
  • All other (unknown) exceptions are considered as Internal Server Error (500).
Edited by Jacopo Gasparetto

Merge request reports