Sha256: 7a8497f4670b42a085a51d2e0139919e935e2bc74bb8879ae20625b343a265d1

Contents?: true

Size: 1.04 KB

Versions: 19

Compression:

Stored size: 1.04 KB

Contents

#
# Error messages and exception class
#

module Syck

	#
	# Error messages
	#

	ERROR_NO_HEADER_NODE = "With UseHeader=false, the node Array or Hash must have elements"
	ERROR_NEED_HEADER = "With UseHeader=false, the node must be an Array or Hash"
	ERROR_BAD_EXPLICIT = "Unsupported explicit transfer: '%s'"
    ERROR_MANY_EXPLICIT = "More than one explicit transfer"
	ERROR_MANY_IMPLICIT = "More than one implicit request"
	ERROR_NO_ANCHOR = "No anchor for alias '%s'"
	ERROR_BAD_ANCHOR = "Invalid anchor: %s"
	ERROR_MANY_ANCHOR = "More than one anchor"
	ERROR_ANCHOR_ALIAS = "Can't define both an anchor and an alias"
	ERROR_BAD_ALIAS = "Invalid alias: %s"
	ERROR_MANY_ALIAS = "More than one alias"
	ERROR_ZERO_INDENT = "Can't use zero as an indentation width"
	ERROR_UNSUPPORTED_VERSION = "This release of YAML.rb does not support YAML version %s"
	ERROR_UNSUPPORTED_ENCODING = "Attempt to use unsupported encoding: %s"

	#
	# YAML Error classes
	#

	class Error < StandardError; end
	class ParseError < Error; end
    class TypeError < StandardError; end

end

Version data entries

19 entries across 19 versions & 4 rubygems

Version Path
syck-1.5.1.1 lib/syck/error.rb
syck-1.5.1 lib/syck/error.rb
syck-1.5.0 lib/syck/error.rb
syck-1.4.1 lib/syck/error.rb
syck-1.4.0 lib/syck/error.rb
syck-1.3.0 lib/syck/error.rb
syck-1.2.0 lib/syck/error.rb
syck-1.1.0 lib/syck/error.rb
syck-1.0.5 lib/syck/error.rb
syck-1.0.4 lib/syck/error.rb
syck-1.0.3 lib/syck/error.rb
rubysl-yaml-2.0.4 lib/syck/error.rb
rubysl-yaml-2.0.3 lib/syck/error.rb
rubysl-yaml-2.0.2 lib/syck/error.rb
rubysl-syck-2.0.2 lib/syck/error.rb
syck-1.0.1 lib/syck/error.rb
syck-1.0.0.4 lib/syck/error.rb
concordia-publishing-house-syck-1.0.0.4 lib/syck/error.rb
syck-1.0.0 lib/syck/error.rb