exception

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 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