Method: Vips::Error#to_s

Defined in:
lib/vips8/error.rb

#to_sString

Pretty-print a Vips::Error.

Returns:

  • (String)

    The error message



21
22
23
24
25
26
27
# File 'lib/vips8/error.rb', line 21

def to_s
    if @details != nil
        @details
    else
        super.to_s
    end
end