Skip to content

Commit

Permalink
Let ClipboardLoadError inherit from StandardError, not Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
janlelis committed Apr 4, 2024
1 parent 32c43b5 commit c50bff4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 1.4.1 (unreleased)
* Always use plaintext mimetype for wl-clipboard
* Do not include newline when pasting from wl-clipboard
* Internal: Let ClipboardLoadError inherit from StandardError, not Exception

## 1.4.0
* Add Wayland support via `wl-copy`, patch by @cramt
Expand Down
2 changes: 1 addition & 1 deletion lib/clipboard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
module Clipboard
extend self

class ClipboardLoadError < Exception
class ClipboardLoadError < StandardError
end

unless defined? Ocra # see gh#9
Expand Down

0 comments on commit c50bff4

Please sign in to comment.