forked from Shared/esg
some error handler + error validation + realEstate bug fixed for hamta end moallem
This commit is contained in:
@@ -16,4 +16,10 @@ export class NormalizedErrorDto {
|
||||
|
||||
@ApiPropertyOptional({ example: '503' })
|
||||
providerCode?: string;
|
||||
|
||||
@ApiPropertyOptional({
|
||||
example: [{ field: 'sheba', constraints: ['sheba must start with IR and contain 24 digits'] }],
|
||||
description: 'Field-level validation errors when code is VALIDATION_ERROR',
|
||||
})
|
||||
details?: Array<{ field: string; constraints: string[] }>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user