exception

package
v0.8.0-fieldmask Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 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