Sha256: 6d5c825f8eae3748e2eb602d4d55007d14c229a496cbc58f925d75ada797bde8

Contents?: true

Size: 935 Bytes

Versions: 9

Compression:

Stored size: 935 Bytes

Contents

# Copyright (C) 2008 Sam Roberts

# This library is free software; you can redistribute it and/or modify
# it under the same terms as the ruby language itself, see the file
# VPIM-LICENSE.txt for details.

module Vcard
  # Exception used to indicate that data being decoded is invalid, the message
  # should describe what is invalid.
  class InvalidEncodingError < StandardError; end

  # Exception used to indicate that data being decoded is unsupported, the message
  # should describe what is unsupported.
  #
  # If its unsupported, its likely because I didn't anticipate it being useful
  # to support this, and it likely it could be supported on request.
  class UnsupportedError < StandardError; end

  # Exception used to indicate that encoding failed, probably because the
  # object would not result in validly encoded data. The message should
  # describe what is unsupported.
  class Unencodeable < StandardError; end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
vcard-0.2.9 lib/vcard/errors.rb
vcard-0.2.8 lib/vcard/errors.rb
vcard-0.2.7 lib/vcard/errors.rb
vcard-0.2.6 lib/vcard/errors.rb
vcard-0.2.5 lib/vcard/errors.rb
vcard-0.2.4 lib/vcard/errors.rb
vcard-0.2.3 lib/vcard/errors.rb
vcard-0.2.2 lib/vcard/errors.rb
vcard-0.2.1 lib/vcard/errors.rb