Class that represents an error returned to the client caller. Can be explicitly returned or as part of the UnhandledExceptionFilter.
Westwind.Web.WebApi.ApiMessageError
public class ApiMessageError : object
Class Members
Member | Description | |
---|---|---|
Constructor |
Default constructor creates empty error object | |
errors |
An optional list of errors that can be set on the error object. Automatically set when passing in a model dictionary with errors. | |
isCallbackError |
Flag value that indicates to the client that this is an error response | |
message |
The text message for the errors |
Requirements
Namespace: Westwind.Web.WebApiAssembly: westwind.web.webapi.dll
© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic