Sha256: f73d9fa1b2ed73ef30c50dd8716678f5e924ff9eb2dd1585186c24684845a496
Contents?: true
Size: 868 Bytes
Versions: 4
Compression:
Stored size: 868 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Service module Plugins module HasJSendResult module Entities class Result module Plugins module RaisesOnNotCheckedResultStatus module Exceptions class StatusIsNotChecked < ::ConvenientService::Exception def initialize_with_kwargs(attribute:) message = <<~TEXT Attribute `#{attribute}` is accessed before result status is checked. Did you forget to call `success?`, `failure?`, or `error?` on result? TEXT initialize(message) end end end end end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems