Initial commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
namespace RobotNet10.MapEditor.Shared.DTOs.Responses;
|
||||
|
||||
/// <summary>
|
||||
/// Standard error response DTO
|
||||
/// </summary>
|
||||
public class ErrorResponseDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Error message
|
||||
/// </summary>
|
||||
public string Error { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Error code for programmatic handling
|
||||
/// </summary>
|
||||
public string? ErrorCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Additional error details
|
||||
/// </summary>
|
||||
public Dictionary<string, object>? Details { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user