Skip to content
v2.278.0

ErrorDetailProperty Struct Added in v2.278.0 ​

Details about an error.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const errorDetailProperty: glue.CfnCatalog.ErrorDetailProperty = {
  errorCode: 'errorCode',
  errorMessage: 'errorMessage',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue

error_detail_property = glue.CfnCatalog.ErrorDetailProperty(
    error_code="errorCode",
    error_message="errorMessage"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;

ErrorDetailProperty errorDetailProperty = ErrorDetailProperty.builder()
        .errorCode("errorCode")
        .errorMessage("errorMessage")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;

var errorDetailProperty = new ErrorDetailProperty {
    ErrorCode = "errorCode",
    ErrorMessage = "errorMessage"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

errorDetailProperty := &ErrorDetailProperty{
	ErrorCode: jsii.String("errorCode"),
	ErrorMessage: jsii.String("errorMessage"),
}

Properties ​

errorCodeoptionalstringerror_codeoptionalstrerrorCodeoptionalStringErrorCodeoptionalstringErrorCodeoptional*string #
The code associated with this error.
errorMessageoptionalstringerror_messageoptionalstrerrorMessageoptionalStringErrorMessageoptionalstringErrorMessageoptional*string #
A message describing the error.