Sha256: 58c37eefc0048de1b6841604d1dbdb1dad5561f1b6331ec325fd3597aff32a40
Contents?: true
Size: 822 Bytes
Versions: 10
Compression:
Stored size: 822 Bytes
Contents
module JIJI # 致命的エラー class FatalError < StandardError def initialize( code, message="" ) super( message ) @code = code end attr :code end # ユーザー操作により発生しうるエラー class UserError < StandardError def initialize( code, message="" ) super( message ) @code = code end attr :code end # エラーコード:存在しない ERROR_NOT_FOUND = "not_found" # エラーコード:すでに存在する ERROR_ALREADY_EXIST = "already_exist" # エラーコード:不正な名前 ERROR_ILLEGAL_NAME = "illegal_name" # エラーコード:想定外エラー ERROR_FATAL = "fatal" # エラーコード:サーバーに接続されていない ERROR_NOT_CONNECTED = "not_connected" end
Version data entries
10 entries across 10 versions & 1 rubygems