2022-03-29 03:19:34 +03:00
|
|
|
//go:build go1.18
|
|
|
|
// +build go1.18
|
2021-08-26 03:14:00 +03:00
|
|
|
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
// Licensed under the MIT License.
|
|
|
|
|
|
|
|
package azcore
|
|
|
|
|
2022-04-16 01:47:14 +03:00
|
|
|
import "github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported"
|
2021-08-26 03:14:00 +03:00
|
|
|
|
2021-12-17 23:04:26 +03:00
|
|
|
// ResponseError is returned when a request is made to a service and
|
|
|
|
// the service returns a non-success HTTP status code.
|
|
|
|
// Use errors.As() to access this type in the error chain.
|
2024-10-03 18:34:25 +03:00
|
|
|
//
|
|
|
|
// When marshaling instances, the RawResponse field will be omitted.
|
|
|
|
// However, the contents returned by Error() will be preserved.
|
2022-04-16 01:47:14 +03:00
|
|
|
type ResponseError = exported.ResponseError
|