using System;
namespace MonoGame.Extended.Graphics.Batching
{
///
/// The exception that is thrown when enqueuing draw commands into a
///
/// results in an overflow.
///
///
public class BatchCommandQueueOverflowException : Exception
{
internal BatchCommandQueueOverflowException(int maximumCommandsCount)
: base(
$"The maximum number of batch commands ({maximumCommandsCount}) has been reached. Consider increasing the maximum, reducing the number of commands, or flushing the commands to the GraphicsDevice."
)
{
}
}
}