feat: add strongly typed exceptions for retrieval failures

This commit is contained in:
Stevan Freeborn committed 2026-09-04 11:55:38 -05:00
1 parent deb9930ce9
commit 8ab71a0e87
2 files changed
+56

No files matched your search

@@ -0,0 +1,28 @@
namespace StevanFreeborn.Atproto.IdentityResolver.Exceptions;
/// <summary>
///
/// </summary>
public class DidDocumentNotFoundException : Exception
{
/// <summary>
///
/// </summary>
public DidDocumentNotFoundException()
{
}
/// <summary>
///
/// </summary>
public DidDocumentNotFoundException(string message) : base(message)
{
}
/// <summary>
///
/// </summary>
public DidDocumentNotFoundException(string message, Exception innerException) : base(message, innerException)
{
}
}
@@ -0,0 +1,28 @@
namespace StevanFreeborn.Atproto.IdentityResolver.Exceptions;
/// <summary>
///
/// </summary>
public class DidNotFoundException : Exception
{
/// <summary>
///
/// </summary>
public DidNotFoundException()
{
}
/// <summary>
///
/// </summary>
public DidNotFoundException(string message) : base(message)
{
}
/// <summary>
///
/// </summary>
public DidNotFoundException(string message, Exception innerException) : base(message, innerException)
{
}
}