File: errors.rb

package info (click to toggle)
ruby-prawn-icon 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 3,228 kB
  • sloc: ruby: 1,370; makefile: 5
file content (21 lines) | stat: -rw-r--r-- 498 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# frozen_string_literal: true

# errors.rb - Prawn::Icon standard errors.
#
# Copyright September 2016, Jesse Doyle. All rights reserved.
#
# This is free software. Please see the LICENSE and COPYING files for details.

module Prawn
  class Icon
    module Errors
      # Error raised when an icon glyph is not found
      #
      IconNotFound = Class.new(StandardError)

      # Error raised when an icon key is not provided
      #
      IconKeyEmpty = Class.new(StandardError)
    end
  end
end