prueba tecnica
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace ProximaContracts.Shared.Exceptions.Repositories.Contract
|
||||
{
|
||||
public sealed class CreateContractException : Exception
|
||||
{
|
||||
public CreateContractException(string message) : base(message) { }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace ProximaContracts.Shared.Exceptions.Repositories.Contract
|
||||
{
|
||||
public sealed class CreateContractRateNotFoundException : Exception
|
||||
{
|
||||
public CreateContractRateNotFoundException(string message) : base(message) { }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace ProximaContracts.Shared.Exceptions.Repositories.Contract
|
||||
{
|
||||
public sealed class GetContractByIdException : Exception
|
||||
{
|
||||
public GetContractByIdException(string message) : base(message) { }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace ProximaContracts.Shared.Exceptions.Repositories.Contract
|
||||
{
|
||||
public sealed class GetContractsException : Exception
|
||||
{
|
||||
public GetContractsException(string message) : base(message) { }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace ProximaContracts.Shared.Exceptions.Repositories.Contract
|
||||
{
|
||||
public sealed class UpdateContractException : Exception
|
||||
{
|
||||
public UpdateContractException(string message) : base(message) { }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace ProximaContracts.Shared.Exceptions.Repositories.Rates
|
||||
{
|
||||
public sealed class CheckIfRateIdExistsException : Exception
|
||||
{
|
||||
public CheckIfRateIdExistsException(string message) : base(message) { }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace ProximaContracts.Shared.Exceptions.Repositories.Rates
|
||||
{
|
||||
public sealed class GetAllRates404Exception : Exception
|
||||
{
|
||||
public GetAllRates404Exception(string message) : base(message) { }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace ProximaContracts.Shared.Exceptions.Repositories.Rates
|
||||
{
|
||||
public sealed class GetAllRatesException : Exception
|
||||
{
|
||||
public GetAllRatesException(string message) : base(message) { }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user