mirror of
https://github.com/PeterCamilleri/fOOrth
synced 2024-11-16 07:47:56 +01:00
Started adding in error codes.
This commit is contained in:
parent
c94141db29
commit
4558790b95
4 changed files with 4 additions and 4 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -10,7 +10,7 @@ Gemfile.lock
|
|||
InstalledFiles
|
||||
_yardoc
|
||||
coverage
|
||||
doc/
|
||||
doc/.~lock.*
|
||||
lib/bundler/man
|
||||
pkg
|
||||
rdoc
|
||||
|
|
Binary file not shown.
|
@ -52,7 +52,7 @@ module XfOOrth
|
|||
current = self[symbol]
|
||||
|
||||
unless expect.include?(current)
|
||||
error "Invalid value for #{symbol}: #{current.inspect} not #{expect}"
|
||||
error "F10: Invalid value for #{symbol}: #{current.inspect} not #{expect}"
|
||||
end
|
||||
|
||||
true
|
||||
|
@ -87,7 +87,7 @@ module XfOOrth
|
|||
if (sym = SymbolMap.map(name))
|
||||
@data.delete(sym)
|
||||
else
|
||||
error "Unable to remove local method #{name}"
|
||||
error "F90: Unable to remove local method #{name}"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ module XfOOrth
|
|||
|
||||
#Error: Unable to find a specification.
|
||||
def spec_error
|
||||
error "Unable to find a spec for #{@name} (#{@symbol.inspect})"
|
||||
error "F11: Unable to find a spec for #{@name} (#{@symbol.inspect})"
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue