SwapDude/SWAD.API/Consts/Enums/ServiceResult.cs
Lisoveliy 4a95ba0d86
Some checks failed
Deploy / update (push) Has been cancelled
Build Project .NET / build (push) Has been cancelled
fix: fixed search of tidal tracks using WebUtils
2025-05-12 21:37:29 +03:00

35 lines
816 B
C#

namespace SWAD.API.Consts.Enums;
/// <summary>
/// Service errors for controller
/// </summary>
public enum ServiceResult
{
/// <summary>
/// Returns on the successful executed state
/// </summary>
Success,
/// <summary>
/// Returns on the unsuccessful executed state
/// </summary>
Failure,
/// <summary>
/// Returns on the unsuccessful executed state not by code
/// </summary>
NoResponse,
/// <summary>
/// Returns on the unsuccessful executed state by user
/// </summary>
BadRequest,
/// <summary>
/// Returns on the unsuccessful executed state by service
/// </summary>
NotFound,
/// <summary>
/// Returns on the unsuccessful executed state by TMR
/// </summary>
TooManyRequests
}