Struct: session.SharedConfigLoadError

import "../ibm-cos-sdk-go/aws/session"

Overview

SharedConfigLoadError is an error for the shared config file failed to load.

Implemented Interfaces

s3crypto.Cipher, awserr.Error, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Method Summary collapse

Structure Field Details

Err error

Filename string

Method Details

func (e SharedConfigLoadError) Code() string

Code is the short id of the error.



373
374
375
// File 'aws/session/shared_config.go', line 373

func (e SharedConfigLoadError) Code() string { return "SharedConfigLoadError" }

func (e SharedConfigLoadError) Error() string

Error satisfies the error interface.



388
389
390
// File 'aws/session/shared_config.go', line 388

func (e SharedConfigLoadError) Error() string { return awserr.SprintError(e.Code(), e.Message(), "", e.Err) }

func (e SharedConfigLoadError) Message() string

Message is the description of the error



378
379
380
// File 'aws/session/shared_config.go', line 378

func (e SharedConfigLoadError) Message() string { return fmt.Sprintf("failed to load config file, %s", e.Filename) }

func (e SharedConfigLoadError) OrigErr() error

OrigErr is the underlying error that caused the failure.



383
384
385
// File 'aws/session/shared_config.go', line 383

func (e SharedConfigLoadError) OrigErr() error { return e.Err }