WoWInterface SVN OpenRDX

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk/VFL/Errors
    from Rev 585 to Rev 676
    Reverse comparison

Rev 585 → Rev 676

Error.lua
91,9 → 91,9
-- @return number
function VFL.Error:Count() return self.count; end
 
--- HasErrors
--- HasError
-- @return boolean
function VFL.Error:HasErrors() return (self.count > 0); end
function VFL.Error:HasError() return (self.count > 0); end
 
--- Clean this error Message
function VFL.Error:Clear()
145,7 → 145,7
--- HasError in a error object declare as param
-- @param errs The error object VFL.error
function VFL.HasError(errs)
if errs then return errs:HasErrors(); else return nil; end
if errs then return errs:HasError(); else return nil; end
end
 
--- A global error object to save memory.