Skip to content

Commit 9702328

Browse files
committed
feat: Add turn exceptions
1 parent a93ca3d commit 9702328

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
namespace RightTurn.Exceptions
2+
{
3+
public class TurnConfigurationRequiredException : TurnException
4+
{
5+
public TurnConfigurationRequiredException()
6+
: base("IConfiguration is required. Use RightTurn.Extensions.Configuration to provide configuration builder.")
7+
{
8+
9+
}
10+
}
11+
}
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
using System;
2+
3+
namespace RightTurn.Exceptions
4+
{
5+
public class TurnException : Exception
6+
{
7+
public TurnException(string message) : base(message)
8+
{
9+
}
10+
}
11+
}

0 commit comments

Comments
 (0)