// // Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License. // using System.Net; using Astral.Core.Constants; namespace Astral.Core.Exceptions; /// /// Thrown when something bad has happened. /// public class UnexpectedErrorException : ServiceException { /// /// Initializes a new instance of the class. /// public UnexpectedErrorException() : base( CoreErrorCodes.UnexpectedError, "Something unexpected occured, please try later", HttpStatusCode.InternalServerError) { } }