Record Class St1DeviceError
java.lang.Object
java.lang.Record
com.io7m.stonesignal.protocol.device.v1.St1DeviceError
- Record Components:
errorCode- The error codemessage- The error message
- All Implemented Interfaces:
St1DeviceMessageType
public record St1DeviceError(String errorCode, String message)
extends Record
implements St1DeviceMessageType
An error message.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theerrorCoderecord component.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
St1DeviceError
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
errorCode
-
message
-