Sha256: 435f250097669d59a056c956a5e63589cf7c4f56d7af9628aed0a63afd0c9585

Contents?: true

Size: 890 Bytes

Versions: 7

Compression:

Stored size: 890 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.

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

7 entries across 7 versions & 1 rubygems

Version Path
vcard-0.3.0 lib/vcard/errors.rb
vcard-0.2.16 lib/vcard/errors.rb
vcard-0.2.15 lib/vcard/errors.rb
vcard-0.2.14 lib/vcard/errors.rb
vcard-0.2.13 lib/vcard/errors.rb
vcard-0.2.12 lib/vcard/errors.rb
vcard-0.2.11 lib/vcard/errors.rb