mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-22 18:29:30 +00:00
19 lines
545 B
C#
19 lines
545 B
C#
namespace MonoGame.Extended.Collisions.Layers;
|
|
|
|
using System;
|
|
|
|
/// <summary>
|
|
/// Thrown when the collision system has no layer defined with the specified name
|
|
/// </summary>
|
|
public class UndefinedLayerException : Exception
|
|
{
|
|
/// <summary>
|
|
/// Thrown when the collision system has no layer defined with the specified name
|
|
/// </summary>
|
|
/// <param name="layerName">The undefined layer name</param>
|
|
public UndefinedLayerException(string layerName)
|
|
: base($"Layer with name '{layerName}' is undefined")
|
|
{
|
|
}
|
|
}
|