Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using RobotNet.VDA5050.State;
|
||||
using RobotNet10.RobotApp.Services.Robot;
|
||||
|
||||
namespace RobotNet10.RobotApp.Services.Exceptions;
|
||||
|
||||
public class RobotException : Exception
|
||||
{
|
||||
public RobotException(string message) : base(message) { }
|
||||
public RobotException(string message, Exception inner) : base(message, inner) { }
|
||||
public RobotException() : base() { }
|
||||
public RobotException(RobotError error) : base()
|
||||
{
|
||||
Error = error;
|
||||
}
|
||||
public RobotError? Error { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user