View Issue Details

IDProjectCategoryView StatusLast Update
0032892mantisbtapi restpublic2023-08-29 22:57
Reportervboctor Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status newResolutionopen 
Product Version2.25.6 
Summary0032892: Support a way for plugins to throw ClientException with desired http status code
Description

For example, if a plugin wants to throw an exception that a Snippet doesn't exist which provide such info to the caller with an associated 404 http status code. This is not really possible at the moment.

For an example, see the discussion in the following PR:
https://github.com/mantisbt-plugins/Snippets/pull/66

TagsNo tags attached.

Activities

There are no notes attached to this issue.