Dispenser/DispenserCommon/Exceptions/ScannerException.cs

15 lines
399 B
C#
Raw Normal View History

2024-08-16 07:20:09 +00:00
using DispenserCommon.Enums;
using DispenserUI.Exceptions;
namespace DispenserCommon.Exceptions;
public class ScannerException(
ScannerTypeEnum type,
string message,
string? code = null,
Exception? exception = null,
ExceptionLevel? level = null)
: BizException(message, code, "扫码枪异常", exception, level)
{
public ScannerTypeEnum Type { get; set; } = type;
}