Initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using RobotNet.VDA5050.State;
|
||||
using RobotNet10.RobotApp.Services.Robot;
|
||||
|
||||
namespace RobotNet10.RobotApp.Services.Exceptions;
|
||||
|
||||
public class ActionException : RobotException
|
||||
{
|
||||
public ActionException(string message) : base(message) { }
|
||||
public ActionException(string message, Exception inner) : base(message, inner) { }
|
||||
public ActionException() : base() { }
|
||||
public ActionException(RobotError error) : base()
|
||||
{
|
||||
Error = error;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using RobotNet.VDA5050.State;
|
||||
using RobotNet10.RobotApp.Services.Robot;
|
||||
|
||||
namespace RobotNet10.RobotApp.Services.Exceptions;
|
||||
|
||||
public class ModbusException : RobotException
|
||||
{
|
||||
public ModbusException(string message) : base(message) { }
|
||||
public ModbusException(string message, Exception inner) : base(message, inner) { }
|
||||
public ModbusException() : base() { }
|
||||
public ModbusException(RobotError error) : base()
|
||||
{
|
||||
Error = error;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using RobotNet10.RobotApp.Services.Robot;
|
||||
|
||||
namespace RobotNet10.RobotApp.Services.Exceptions;
|
||||
|
||||
public class NavigationException : RobotException
|
||||
{
|
||||
public NavigationException(string message) : base(message) { }
|
||||
public NavigationException(string message, Exception inner) : base(message, inner) { }
|
||||
public NavigationException() : base() { }
|
||||
public NavigationException(RobotError error) : base()
|
||||
{
|
||||
Error = error;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using RobotNet.VDA5050.State;
|
||||
using RobotNet10.RobotApp.Services.Robot;
|
||||
|
||||
namespace RobotNet10.RobotApp.Services.Exceptions;
|
||||
|
||||
public class OrderException : RobotException
|
||||
{
|
||||
public OrderException(string message) : base(message) { }
|
||||
public OrderException(string message, Exception inner) : base(message, inner) { }
|
||||
public OrderException() : base() { }
|
||||
public OrderException(RobotError error) : base()
|
||||
{
|
||||
Error = error;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using RobotNet.VDA5050.State;
|
||||
using RobotNet10.RobotApp.Services.Robot;
|
||||
|
||||
namespace RobotNet10.RobotApp.Services.Exceptions;
|
||||
|
||||
public class PathPlannerException : RobotException
|
||||
{
|
||||
public PathPlannerException(string message) : base(message) { }
|
||||
public PathPlannerException(string message, Exception inner) : base(message, inner) { }
|
||||
public PathPlannerException() : base() { }
|
||||
public PathPlannerException(RobotError error) : base()
|
||||
{
|
||||
Error = error;
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using RobotNet.VDA5050.State;
|
||||
using RobotNet10.RobotApp.Services.Robot;
|
||||
|
||||
namespace RobotNet10.RobotApp.Services.Exceptions;
|
||||
|
||||
public class SimulationException : RobotException
|
||||
{
|
||||
public SimulationException(string message) : base(message) { }
|
||||
public SimulationException(string message, Exception inner) : base(message, inner) { }
|
||||
public SimulationException() : base() { }
|
||||
public SimulationException(RobotError error) : base()
|
||||
{
|
||||
Error = error;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user