• Matthias Adrowski's avatar
    [FEATURE] Return certain Exceptions as response with correct header · efde0b8f
    Matthias Adrowski authored
    Instead of throwing exceptions, which will be logged by the system,
    return usable status codes and messages.
    Will return a valid JSON with a Message key in that Case.
    Exceptions, which do not carry codes of 401, 403 or 404 are not
    catched for now, stopping us to return too usefull informations