Class ApiMessageError

Class that represents an error returned to the client caller. Can be explicitly returned or as part of the UnhandledExceptionFilter.

System.Object
  Westwind.Web.WebApi.ApiMessageError
public class ApiMessageError : object

Class Members

MemberDescription

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.WebApi
Assembly: westwind.web.webapi.dll

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic