ApiError Class

An error that is serialized to JSON. Includes an isError property as interface marker along with a message and various error details that are displayed.

System.Object
   Westwind.AspNetCore.Errors.ApiError

Class Members

MemberDescription
Constructor Create a new API Error with a string message
detail Any additional error detail to display
errorCode Optional error code
errors Optional collection of errors.
isError Error interface marker
message Error message or other message returned
source
Namespace: Westwind.AspNetCore.Errors

Assembly: Westwind.AspNetCore.dll



© West Wind Technologies, 2025 • Updated: 2025-03-08
Comment or report problem with topic