using System; namespace LCU.API.Collections.RepoApi.Exceptions { /** * Do not want to expose database and related exceptions to the controllers / web layer. * The lower layers log what happened for developers, then return a general error; unless * a more specific error can be returned in a way to allow the client to act (such as NotFound). */ // IF YOU SEE THIS EXCEPTION IN SEQ, IT MEANS YES, YOU HAVE TO INVESTIGATE. public class ServerErrorException : Exception { public ServerErrorException(): base("[INVESTIGATE] A server error occured. See associated logs.") { } } }