Tatum.ResponseLibrary
1.0.2
dotnet add package Tatum.ResponseLibrary --version 1.0.2
NuGet\Install-Package Tatum.ResponseLibrary -Version 1.0.2
<PackageReference Include="Tatum.ResponseLibrary" Version="1.0.2" />
<PackageVersion Include="Tatum.ResponseLibrary" Version="1.0.2" />
<PackageReference Include="Tatum.ResponseLibrary" />
paket add Tatum.ResponseLibrary --version 1.0.2
#r "nuget: Tatum.ResponseLibrary, 1.0.2"
#:package Tatum.ResponseLibrary@1.0.2
#addin nuget:?package=Tatum.ResponseLibrary&version=1.0.2
#tool nuget:?package=Tatum.ResponseLibrary&version=1.0.2
ResponseCodesDictionary
Overview
ResponseCodesDictionary
provides a predefined set of response codes and their corresponding descriptions for use in applications that require standardized response handling.
Features
- Predefined response codes as constants.
- A dictionary mapping response codes to human-readable messages.
- A utility method to fetch a message by code.
Installation
You can install this package using NuGet Package Manager:
dotnet add package Tatum.ResponseLibrary
Or in the NuGet Package Manager Console:
Install-Package Tatum.ResponseLibrary
##Usage ##Retrieve Response Codes Directly
You can use the predefined constants for consistency:
string successCode = ResponseCodesDictionary.Success; Console.WriteLine(successCode); // Output: "00"
##Get Message from Code Retrieve a human-readable description using the GetMessage method:
string code = "03"; string message = ResponseCodesDictionary.GetMessage(code); Console.WriteLine(message); // Output: Unauthorized access
##Available Response Codes
Code Description
00 Success 01 Invalid request format 02 Missing required parameters 03 Unauthorized access 04 Resource not found 05 Operation failed 06 Duplicate entry detected 07 Service unavailable 08 Rate limit exceeded 09 Invalid token 10 Session expired 11 Unable to authenticate user 96 System malfunction 25 Unable to process record 80 Invalid Request Signature 50 Database Error
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Tatum.ResponseLibrary:
Package | Downloads |
---|---|
Tatum.ClientSecretFetcher
Retrieves the client secret for a given client ID from the database. |
|
TatumBank.SecureStorage.Endpoints
Securely store and access your sensitive data with confidence. |
GitHub repositories
This package is not used by any popular GitHub repositories.
For installation and usage instructions, see the README.md file.