// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: archway/callback/v1/errors.proto

package types

import (
	fmt "fmt"
	_ "github.com/cosmos/gogoproto/gogoproto"
	proto "github.com/cosmos/gogoproto/proto"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package

// ModuleErrors defines the module level error codes
type ModuleErrors int32

const (
	// ERR_UNKNOWN is the default error code
	ModuleErrors_ERR_UNKNOWN ModuleErrors = 0
	// ERR_OUT_OF_GAS is the error code when the contract callback exceeds the gas limit allowed by the module
	ModuleErrors_ERR_OUT_OF_GAS ModuleErrors = 1
	// ERR_CONTRACT_EXECUTION_FAILED is the error code when the contract callback execution fails
	ModuleErrors_ERR_CONTRACT_EXECUTION_FAILED ModuleErrors = 2
)

var ModuleErrors_name = map[int32]string{
	0: "ERR_UNKNOWN",
	1: "ERR_OUT_OF_GAS",
	2: "ERR_CONTRACT_EXECUTION_FAILED",
}

var ModuleErrors_value = map[string]int32{
	"ERR_UNKNOWN":                   0,
	"ERR_OUT_OF_GAS":                1,
	"ERR_CONTRACT_EXECUTION_FAILED": 2,
}

func (x ModuleErrors) String() string {
	return proto.EnumName(ModuleErrors_name, int32(x))
}

func (ModuleErrors) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_f0078bfce91cddb8, []int{0}
}

func init() {
	proto.RegisterEnum("archway.callback.v1.ModuleErrors", ModuleErrors_name, ModuleErrors_value)
}

func init() { proto.RegisterFile("archway/callback/v1/errors.proto", fileDescriptor_f0078bfce91cddb8) }

var fileDescriptor_f0078bfce91cddb8 = []byte{
	// 229 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52,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