Sha256: 54d84e33aa02109f07df0ab32a3d18ced979208a10c037b66aa3d894e1dec155
Contents?: true
Size: 354 Bytes
Versions: 94
Compression:
Stored size: 354 Bytes
Contents
require_relative 'error_factory' class ReeErrors::PermissionError < ReeErrors::ErrorFactory include Ree::BeanDSL bean :permission_error do link :build_error link 'ree_errors/error', -> { Error } end contract Symbol, Nilor[String] => SubclassOf[Error] def build(code, locale = nil) build_error(:permission, code, locale) end end
Version data entries
94 entries across 94 versions & 1 rubygems