Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponseStruct ¶
type ErrorResponseStruct struct { Error string `json:"error"` ErrorDescription string `json:"errorDescription"` }
ErrorResponseStruct defines the structure for error responses
func CreateErrorResponse ¶
func CreateErrorResponse(appError utils.AppError) *ErrorResponseStruct
CreateErrorResponse is a helper function that creates a ErrorResponseStruct
Click to show internal directories.
Click to hide internal directories.