Socket
Socket
Sign inDemoInstall

golang.org/x/xerrors

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    golang.org/x/xerrors

Package xerrors implements functions to manipulate errors. This package is based on the Go 2 proposal for error values: These functions were incorporated into the standard library's errors package in Go 1.13: - Is - As - Unwrap Also, Errorf's %w verb was incorporated into fmt.Errorf. Use this package to get equivalent behavior in all supported Go versions. No other features of this package were included in Go 1.13, and at present there are no plans to include any of them.


Version published

Readme

Source

This repository holds the transition packages for the new Go 1.13 error values. See golang.org/design/29934-error-values.

FAQs

Last updated on 12 Oct 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc