func (err *OtherError) Unwrap() error {
	return err.error
}
Unwrap returns the next error in the error chain.
package pglock
import (
	"errors"
	"fmt"
)
type NotExistError struct {
	error
}
func (err *NotExistError) Unwrap() error {
	return err.error
}
func (err *NotExistError) Error() string {
	return fmt.Sprintf("not exists: %s", err.error)
}
type UnavailableError struct {
	error
}
func (err *UnavailableError) Unwrap() error {
	return err.error
}
func (err *UnavailableError) Error() string {
	return fmt.Sprintf("unavailable: %s", err.error)
}
type FailedPreconditionError struct {
	error
}
func (err *FailedPreconditionError) Unwrap() error {
	return err.error
}
func (err *FailedPreconditionError) Error() string {
	return fmt.Sprintf("failed precondition: %s", err.error)
}
type OtherError struct {
	error
}