func ErrFailedToUnmarshalGlobalMeta(err error) sdk.Error {
	return types.NewError(types.CodeFailedToUnmarshalGlobalMeta, fmt.Sprintf("failed to unmarshal global meta: %s", err.Error()))
}
ErrFailedToUnmarshalGlobalMeta - error if unmarshal global meta failed
package model
import (
	"fmt"
	sdk "github.com/cosmos/cosmos-sdk/types"
	"github.com/lino-network/lino/types"
)
func ErrGlobalMetaNotFound() sdk.Error {
	return types.NewError(types.CodeGlobalMetaNotFound, fmt.Sprintf("global meta not found"))
}
func ErrLinoStakeStatisticNotFound() sdk.Error {
	return types.NewError(types.CodeLinoStakeStatisticNotFound, fmt.Sprintf("lino power statistic not found"))
}
func ErrInflationPoolNotFound() sdk.Error {
	return types.NewError(types.CodeInflationPoolNotFound, fmt.Sprintf("inflation pool not found"))
}
func ErrGlobalConsumptionMetaNotFound() sdk.Error {
	return types.NewError(types.CodeGlobalConsumptionMetaNotFound, fmt.Sprintf("global consumption meta not found"))
}
func ErrGlobalTPSNotFound() sdk.Error {
	return types.NewError(types.CodeGlobalTPSNotFound, fmt.Sprintf("global tps not found"))
}
func ErrGlobalTimeNotFound() sdk.Error {
	return types.NewError(types.CodeGlobalTimeNotFound, fmt.Sprintf("global time not found"))
}
func ErrFailedToMarshalTimeEventList(err error) sdk.Error {
	return types.NewError(types.CodeFailedToMarshalTimeEventList, fmt.Sprintf("failed to marshal time event list: %s", err.Error()))
}
func ErrFailedToMarshalGlobalMeta(err error) sdk.Error {
	return types.NewError(types.CodeFailedToMarshalGlobalMeta, fmt.Sprintf("failed to marshal global meta: %s", err.Error()))
}
func ErrFailedToMarshalInflationPool(err error) sdk.Error {
	return types.NewError(types.CodeFailedToMarshalInflationPoll, fmt.Sprintf("failed to marshal inflation pool: %s", err.Error()))
}
func ErrFailedToMarshalConsumptionMeta(err error) sdk.Error {
	return types.NewError(types.CodeFailedToMarshalConsumptionMeta, fmt.Sprintf("failed to marshal consumption meta: %s", err.Error()))
}
func ErrFailedToMarshalTPS(err error) sdk.Error {
	return types.NewError(types.CodeFailedToMarshalTPS, fmt.Sprintf("failed to marshal tps: %s", err.Error()))
}
func ErrFailedToMarshalTime(err error) sdk.Error {
	return types.NewError(types.CodeFailedToMarshalTime, fmt.Sprintf("failed to marshal time: %s", err.Error()))
}
func ErrFailedToUnmarshalTimeEventList(err error) sdk.Error {
	return types.NewError(types.CodeFailedToUnmarshalTimeEventList, fmt.Sprintf("failed to unmarshal time event list: %s", err.Error()))
}