---
title: DocumentRequestServiceException
summary: API reference for DocumentRequestServiceException.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-09-24
library: SAIF.SAIFCode.Core
reference_type: package
---

# DocumentRequestServiceException

`DocumentRequestServiceException` is a data-carrier contract (DTO) in the Documents area of SAIF.SAIFCode.Core, exposing the properties SAIF.Services and its consumers read and populate for this entity*.

## Purpose
- Carries data for the Documents area, consumed by SAIF.Services and other layers that reference this library's contracts*.

## Context
- Namespace: `SAIF.Core.Contracts.Documents`
- Kind: Class
- Assembly/package: `SAIF.Core` (NuGet package `SAIF.SAIFCode.Core`)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `DocumentRequestServiceException` | `DocumentRequestServiceException(string message)` | Initializes a new instance of this type*. |
| `DocumentRequestServiceException` | `DocumentRequestServiceException(IEnumerable<ValidationFailure> failures)` | Initializes a new instance of this type*. |
| `DocumentRequestServiceException` | `DocumentRequestServiceException(string message, Exception innerException)` | Initializes a new instance of this type*. |
| `DocumentRequestServiceException` | `DocumentRequestServiceException(string propertyName, string message)` | Initializes a new instance of this type*. |
| `Failures` | `IList<ValidationFailure> Failures { get; set; }` | Contains the collection of ValidationFailure entries associated with this DocumentRequestServiceException*. |
| `AddFailure` | `bool AddFailure(string message)` | Adds failure, given `message`*. |
| `AddFailure` | `bool AddFailure(string propertyName, string message)` | Adds failure, given `propertyName`, `message`*. |

> **Note:** Statements marked with `*` were inferred from code structure, naming
> conventions, or contextual evidence where direct confirmation was not available
> in source artifacts. Statements marked with `**` could not be confirmed; treat
> as unknown until verified.

## Sources
- Core/SAIF.Core/Contracts/Documents/DocumentRequestServiceException.cs
