15 lines
399 B
C#
15 lines
399 B
C#
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;
|
|
} |