Files
PIBD-23_Coursach_YouAreProg…/YouAreProgrammerShop/YAPContracts/Exceptions/StorageException.cs

14 lines
326 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YAPContracts.Exceptions
{
public class StorageException : Exception
{
public StorageException(Exception ex) : base($"Error while working in storage: {ex.Message}", ex) { }
}
}