Home > @vsf-enterprise/sap-commerce-webservices-sdk > ModelError

ModelError interface

Error message ModelError

Signature:

export interface ModelError 

Properties

Property Type Description
errorCode? string (Optional) Error code
exceptionMessage? string (Optional)
language? string (Optional)
message? string (Optional) Descriptive, human readable error message.
position? number (Optional)
reason? string (Optional) Additional classification specific for each error type e.g. 'noStock'.
subject? string (Optional) Identifier of the related object e.g. '1'.
subjectType? string (Optional) Type of the object related to the error e.g. 'entry'.
type? string (Optional) Type of the error e.g. 'LowStockError'.