PictureErrors Enumeration |
Documentation home page
Picture errors thrown during validation
Namespace:
Ricardo.Enums
Assembly:
Ricardo.Enums (in Ricardo.Enums.dll) Version: 1.1.15308.4 (1.1.15308.4)
Syntaxpublic enum PictureErrors
Public Enumeration PictureErrors
Members
| Member name | Value | Description |
---|
| MaxPicturesCountReached | 1 |
returned when a customer tries to add more picture than the business limit
|
| MaxPictureSizeReached | 2 |
pictures size exceed the business limit, see Ricardo.Core.BusinessSettings.MaxPictureFileSize
|
| ErrorResizingPicture | 3 |
happens when a technical error occurs while resizing a given picture. the picture index is given in ErrorDetails as int
|
| PictureIndexDoesNotExist | 4 |
the given picture index can't be update because it does not exist on the live article. the picture index is given in ErrorDetails as int
|
| EmptyPictureContent | 5 |
the content of the picture was not passed or cannot be retreived. the picture index is given in ErrorDetails as int
|
| NoPictures | 6 |
pictures array is empty or null
|
| InvalidPictureIndex | 7 |
Used when the PictureIndex property of a Picture object is set to an invalid value (ex: 0 or negative value)
|
| MaxLogoPictureSizeReached | 8 |
pictures size exceed the business limit, see Ricardo.Core.BusinessSettings.MaxLogoPictureFileSize
|
| ErrorResizingLogoPicture | 9 |
happens when a technical error occurs while resizing a given logo picture.
|
| InvalidPictureIndexOrder | 10 |
The picture indexes specified do not follow each other
|
| BothPictureContentDefined | 16 |
You must specify either PictureBytes or PictureBytesAsBase64. Not both.
|
| InvalidBase64String | 17 |
The base64 string is not properly encoded.
|
| InvalidConnectionIndex | 18 |
Every used index must be present in source index array, and in destination index array.
|
| IndexMustBeUnique | 19 |
You should not specify multiple time the same index in the list of OriginalIndex or in the list of TargetIndex.
|
| TooManyChangesRequested | 20 |
The number of changes requested is bigger than the number of article pictures
|
See Also