package e

const (
	SUCCESS        = 200
	ERROR          = 500
	INVALID_PARAMS = 400

	ERROR_EXIST_COIN       = 10001
	ERROR_GET_COIN_FAIL    = 10002
	ERROR_COUNT_COIN_FAIL  = 10003
	ERROR_ADD_COIN_FAIL    = 10004
	ERROR_UPDATE_COIN_FAIL = 10005
	ERROR_DELETE_COIN_FAIL = 10006

	ERROR_EXIST_WALLET       = 10011
	ERROR_GET_WALLET_FAIL    = 10012
	ERROR_COUNT_WALLET_FAIL  = 10013
	ERROR_ADD_WALLET_FAIL    = 10014
	ERROR_UPDATE_WALLET_FAIL = 10015
	ERROR_DELETE_WALLET_FAIL = 10016

	ERROR_EXIST_CHAIN       = 10111
	ERROR_GET_CHAIN_FAIL    = 10112
	ERROR_COUNT_CHAIN_FAIL  = 10113
	ERROR_ADD_CHAIN_FAIL    = 10114
	ERROR_UPDATE_CHAIN_FAIL = 10115
	ERROR_DELETE_CHAIN_FAIL = 10116

	ERROR_EXIST_RECOMMEND_COIN       = 11111
	ERROR_GET_RECOMMEND_COIN_FAIL    = 11112
	ERROR_COUNT_RECOMMEND_COIN_FAIL  = 11113
	ERROR_ADD_RECOMMEND_COIN_FAIL    = 11114
	ERROR_UPDATE_RECOMMEND_COIN_FAIL = 11115
	ERROR_DELETE_RECOMMEND_COIN_FAIL = 11116

	ERROR_AUTH_CHECK_TOKEN_FAIL    = 40001
	ERROR_AUTH_CHECK_TOKEN_TIMEOUT = 40002
	ERROR_AUTH_TOKEN               = 40003
	ERROR_AUTH                     = 40004

	ERROR_UPLOAD_SAVE_IMAGE_FAIL    = 30001
	ERROR_UPLOAD_CHECK_IMAGE_FAIL   = 30002
	ERROR_UPLOAD_CHECK_IMAGE_FORMAT = 30003

	ERROR_UPLOAD_SAVE_FILE_FAIL    = 30011
	ERROR_UPLOAD_CHECK_FILE_FAIL   = 30012
	ERROR_UPLOAD_CHECK_FILE_FORMAT = 30013
)
