Tatum.ResponseLibrary 1.0.2

dotnet add package Tatum.ResponseLibrary --version 1.0.2
                    
NuGet\Install-Package Tatum.ResponseLibrary -Version 1.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Tatum.ResponseLibrary" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Tatum.ResponseLibrary" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Tatum.ResponseLibrary" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Tatum.ResponseLibrary --version 1.0.2
                    
#r "nuget: Tatum.ResponseLibrary, 1.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Tatum.ResponseLibrary@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Tatum.ResponseLibrary&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Tatum.ResponseLibrary&version=1.0.2
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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.

Version Downloads Last Updated
1.0.2 147 2/28/2025
1.0.1 108 2/27/2025
1.0.0 121 2/27/2025
0.9.0 180 4/3/2025

For installation and usage instructions, see the README.md file.