Struct: types.InvalidCiphertextException

import "../ibm-cos-sdk-go-v2/service/kms/types"

Implemented Interfaces

types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream

Method Summary collapse

Method Details

func (e *InvalidCiphertextException) Error() string



654
655
656
// File 'service/kms/types/errors.go', line 654

func (e *InvalidCiphertextException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) }

func (e *InvalidCiphertextException) ErrorCode() string



663
664
665
666
667
668
// File 'service/kms/types/errors.go', line 663

func (e *InvalidCiphertextException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidCiphertextException" } return *e.ErrorCodeOverride }

func (e *InvalidCiphertextException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }



669
670
671
672
673
674
675
676
677
678
// File 'service/kms/types/errors.go', line 669

func (e *InvalidCiphertextException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request was rejected because the specified GrantId is not valid. type InvalidGrantIdException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *InvalidCiphertextException) ErrorMessage() string



657
658
659
660
661
662
// File 'service/kms/types/errors.go', line 657

func (e *InvalidCiphertextException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message }