var o=class s extends Error{name="ProviderError";tryNextLink;constructor(t,e=!0){let u,r=!0;typeof e=="boolean"?(u=void 0,r=e):e!=null&&typeof e=="object"&&(u=e.logger,r=e.tryNextLink??!0),super(t),this.tryNextLink=r,Object.setPrototypeOf(this,s.prototype),u?.debug?.(`@smithy/property-provider ${r?"->":"(!)"} ${t}`)}static from(t,e=!0){return Object.assign(new this(t.message,e),t)}};var i=class s extends o{name="CredentialsProviderError";constructor(t,e=!0){super(t,e),Object.setPrototypeOf(this,s.prototype)}};export{o as a,i as b};
