namespace MonoGame.Extended.Collisions.Layers; using System; /// /// Thrown when the collision system has no layer defined with the specified name /// public class UndefinedLayerException : Exception { /// /// Thrown when the collision system has no layer defined with the specified name /// /// The undefined layer name public UndefinedLayerException(string layerName) : base($"Layer with name '{layerName}' is undefined") { } }