Struct: session.SharedConfigProfileNotExistsError

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

Overview

SharedConfigProfileNotExistsError is an error for the shared config when the profile was not find in the config file.

Implemented Interfaces

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

Structure Field Summary collapse

Method Summary collapse

Structure Field Details

Err error

Profile string

Method Details

func (e SharedConfigProfileNotExistsError) Code() string

Code is the short id of the error.



400
401
402
// File 'aws/session/shared_config.go', line 400

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

func (e SharedConfigProfileNotExistsError) Error() string

Error satisfies the error interface.



415
416
417
// File 'aws/session/shared_config.go', line 415

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

func (e SharedConfigProfileNotExistsError) Message() string

Message is the description of the error



405
406
407
// File 'aws/session/shared_config.go', line 405

func (e SharedConfigProfileNotExistsError) Message() string { return fmt.Sprintf("failed to get profile, %s", e.Profile) }

func (e SharedConfigProfileNotExistsError) OrigErr() error

OrigErr is the underlying error that caused the failure.



410
411
412
// File 'aws/session/shared_config.go', line 410

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