errors
Go error library with error portability over the network
File Explorer
Download Latest Version (.zip)- ci.yaml
- assert.go
- assert_test.go
- barriers.go
- barriers_test.go
- contexttags.go
- contexttags_test.go
- with_context.go
- dummy_domain.go
- domains.go
- domains_test.go
- with_domain.go
- unknown.pb.go
- unknown.proto
- adapters.go
- adapters_errno.go
- adapters_errno_test.go
- adapters_test.go
- decode.go
- encode.go
- encode_test.go
- err_string_ownership_test.go
- format_error.go
- format_error_internal_test.go
- formatter.go
- migrations.go
- migrations_test.go
- opaque.go
- opaque_test.go
- oserror_go116.go
- oserror_pre116.go
- safe_details.go
- stack_format_test.go
- unknown_type_test.go
- unwrap.go
- unwrap_test.go
- errors.go
- errors.pb.go
- errors.proto
- hintdetail.pb.go
- hintdetail.proto
- markers.go
- markers.pb.go
- markers.proto
- tags.pb.go
- tags.proto
- testing.go
- testing.pb.go
- testing.proto
- as.go
- as_test.go
- assertions.go
- doc.go
- format_error_special.go
- message.go
- message_test.go
- redactable.go
- utilities.go
- ext_grpc.go
- ext_grpc.pb.go
- ext_grpc.proto
- ext_grpc_test.go
- ext_http.go
- ext_http.pb.go
- ext_http.proto
- ext_http_test.go
- leaves
- leaves-via-network
- opaque
- wrap-fmt
- wrap-fmt-via-network
- wrap-goerr
- wrap-goerr-via-network
- wrap-newf
- wrap-newf-via-network
- wrap-nofmt
- wrap-nofmt-via-network
- wrap-pkgerr
- wrap-pkgerr-via-network
- datadriven_test.go
- datadriven_test_go116.go
- datadriven_test_pre116.go
- format_error_test.go
- client.go
- server.go
- status.go
- client_test.go
- echoer.pb.go
- echoer.proto
- main_test.go
- server_test.go
- hintdetail.go
- hintdetail_test.go
- with_detail.go
- with_hint.go
- issuelink.go
- issuelink_test.go
- unimplemented_error.go
- unimplemented_test.go
- with_issuelink.go
- join.go
- join_test.go
- unknown.pb.go
- unknown.proto
- example_has_type_test.go
- markers.go
- markers_test.go
- oserror.go
- oserror_test.go
- oserror_unix_test.go
- report.go
- report_test.go
- reportables.go
- redact.go
- redact_test.go
- safedetails.go
- safedetails_test.go
- with_safedetails.go
- secondary.go
- secondary_test.go
- with_secondary.go
- strings.go
- telemetrykeys.go
- telemetrykeys_test.go
- with_telemetry.go
- simplecheck.go
- simplecheck_test.go
- run.go
- one_line_source.go
- one_line_source_test.go
- reportable.go
- reportable_test.go
- stack.go
- withstack.go
- .gitignore
- assert_api.go
- barriers_api.go
- benchmark_test.go
- contexttags_api.go
- domains_api.go
- errbase_api.go
- errutil_api.go
- errutil_api_test.go
- go.mod
- go.sum
- hintdetail_api.go
- issuelink_api.go
- LICENSE
- Makefile.update-protos
- markers_api.go
- README.md
- report_api.go
- safedetails_api.go
- secondary_api.go
- telemetrykeys_api.go
- withstack_api.go
# Installation Guide
1. Get the code
git clone https://github.com/cockroachdb/errors
Downloads the entire project code from GitHub to your computer.
cd errors
Moves into the project folder you just downloaded.
2. Go
Medium RecommendedPrerequisites
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
// repository documentation
Was this content helpful?
(0 ratings)
