Sha256: 4360248e0bbeb977d48cfaa89d51cc2632191f76c3009561f6b1c2baf07d7a43
Contents?: true
Size: 494 Bytes
Versions: 16
Compression:
Stored size: 494 Bytes
Contents
//go:build go1.18 // +build go1.18 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package runtime import ( "net/http" "github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported" ) // NewResponseError creates an *azcore.ResponseError from the provided HTTP response. // Call this when a service request returns a non-successful status code. func NewResponseError(resp *http.Response) error { return exported.NewResponseError(resp) }
Version data entries
16 entries across 16 versions & 1 rubygems