UOS-RZ / deterrers

The automateD nETwork pERimeter thREat pRevention System (DETERRERS) is a tool for decentral network administration. It automates workflows at the network perimeter, e.g., automatic scanning for vulnerabilities and automatic configuration of perimter firewall policies.
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

API should return proper error messages #16

Open lkiesow opened 1 year ago

lkiesow commented 1 year ago

If a problem occurs, the API should return an actually helpful error message if possible. The error message should also be JSON encoded to make handling results easier. Even if it's just a JSON string.

lkiesow commented 1 year ago

Example: Handle if an IP is not set in Proteus and return an error message like: