The Delete Object Error is returned when a Delete Object service request fails.
It carries the standard error class and error code explaining why the object could not be deleted (for example, the object may be referenced by other objects, or the client may lack sufficient privilege).
Summary
Functions
Converts a received Error APDU into a DeleteObjectError struct.
Constructs an Error APDU from a DeleteObjectError struct.
Types
@type t() :: %BACnet.Protocol.Services.Error.DeleteObjectError{ error_class: BACnet.Protocol.Constants.error_class() | non_neg_integer(), error_code: BACnet.Protocol.Constants.error_code() | non_neg_integer() }
Error response for a failed Delete Object service.
Functions
@spec from_apdu(BACnet.Protocol.APDU.Error.t()) :: {:ok, t()} | {:error, term()}
Converts a received Error APDU into a DeleteObjectError struct.
@spec to_apdu(t(), 0..255) :: {:ok, BACnet.Protocol.APDU.Error.t()} | {:error, term()}
Constructs an Error APDU from a DeleteObjectError struct.