Add new method to KiwiStandardResponses for creating a "standard" 500 error #1164
Labels
new feature
A new feature such as a new class, method, package, group of classes, etc.
Milestone
KiwiStandardResponses
contains astandardErrorResponse(Response.Status status, String errorDetails)
method which requires specifying the response status. This becomes tedious when you simply want to create a "default" 500 error.This issue adds a new method which will create a new
Response
with status code500 Internal Server Error
and the given error details. The signature is:There should also be a method that returns a
Response.ResponseBuilder
.The text was updated successfully, but these errors were encountered: