Help us shape the future of Go! Take the 2026 Go Developer Survey

exception

package
v0.16.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package exception is deprecated

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalError

func MarshalError(method string, err error) []byte

MarshalError convert go error to thrift exception, and encode exception over buffered binary transport. Deprecated: Use MarshalError in pkg/utils/thrift.go instead.

func UnmarshalError

func UnmarshalError(b []byte) error

UnmarshalError decode binary and return error message Deprecated: Use UnmarshalError in pkg/utils/thrift.go instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL