Record Class CATypePackageCompileCheckingFailed
java.lang.Object
java.lang.Record
com.io7m.cardant.type_packages.compiler.api.CATypePackageCompileCheckingFailed
- Record Components:
message- The error messageerrorCode- The error codeattributes- The error attributesremediatingAction- The remediating action, if anyexception- The exception, if anyextras- The extra errors
- All Implemented Interfaces:
CATypePackageCompileResultType,com.io7m.seltzer.api.SStructuredErrorType<CAErrorCode>
public record CATypePackageCompileCheckingFailed(String message, CAErrorCode errorCode, Map<String,String> attributes, Optional<String> remediatingAction, Optional<Throwable> exception, List<com.io7m.seltzer.api.SStructuredError<CAErrorCode>> extras)
extends Record
implements CATypePackageCompileResultType, com.io7m.seltzer.api.SStructuredErrorType<CAErrorCode>
Type checking failed.
-
Constructor Summary
ConstructorsConstructorDescriptionCATypePackageCompileCheckingFailed(String message, CAErrorCode errorCode, Map<String, String> attributes, Optional<String> remediatingAction, Optional<Throwable> exception, List<com.io7m.seltzer.api.SStructuredError<CAErrorCode>> extras) Type checking failed. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattributesrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theerrorCoderecord component.Returns the value of theexceptionrecord component.List<com.io7m.seltzer.api.SStructuredError<CAErrorCode>> extras()Returns the value of theextrasrecord component.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.Returns the value of theremediatingActionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CATypePackageCompileCheckingFailed
public CATypePackageCompileCheckingFailed(String message, CAErrorCode errorCode, Map<String, String> attributes, Optional<String> remediatingAction, Optional<Throwable> exception, List<com.io7m.seltzer.api.SStructuredError<CAErrorCode>> extras) Type checking failed.- Parameters:
message- The error messageerrorCode- The error codeattributes- The error attributesremediatingAction- The remediating action, if anyexception- The exception, if anyextras- The extra errors
-
-
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). -
message
Returns the value of themessagerecord component.- Specified by:
messagein interfacecom.io7m.seltzer.api.SStructuredErrorType<CAErrorCode>- Returns:
- the value of the
messagerecord component
-
errorCode
Returns the value of theerrorCoderecord component.- Specified by:
errorCodein interfacecom.io7m.seltzer.api.SStructuredErrorType<CAErrorCode>- Returns:
- the value of the
errorCoderecord component
-
attributes
Returns the value of theattributesrecord component.- Specified by:
attributesin interfacecom.io7m.seltzer.api.SStructuredErrorType<CAErrorCode>- Returns:
- the value of the
attributesrecord component
-
remediatingAction
Returns the value of theremediatingActionrecord component.- Specified by:
remediatingActionin interfacecom.io7m.seltzer.api.SStructuredErrorType<CAErrorCode>- Returns:
- the value of the
remediatingActionrecord component
-
exception
Returns the value of theexceptionrecord component.- Specified by:
exceptionin interfacecom.io7m.seltzer.api.SStructuredErrorType<CAErrorCode>- Returns:
- the value of the
exceptionrecord component
-
extras
-