Sha256: 6da701ae92cc11b836e666ecca997cf7da6516070b8777938a5646cbdb2a6420

Contents?: true

Size: 416 Bytes

Versions: 8

Compression:

Stored size: 416 Bytes

Contents

#!ruby

# --- errorMsg ---
#
# Author:	Magnus Engström
# Email:		magnus@gisab.se
# File:		errorWrite
#
# Description
# -----------
# Outputs an error message to the administrator
# ------------------

def errorMsg(message, exitapp = false)
  STDERR.puts(message)
  MP3Control::exit_mpg123() if(exitapp)
  Kernel::exit(exitapp) if(exitapp) # Terminate application and return the exitapp value if it isn't falsew

end

Version data entries

8 entries across 8 versions & 4 rubygems

Version Path
rwdaddresses-0.99 extras/errorMsg
rwdaddresses-0.98 extras/errorMsg
rwdaddresses-1.01 extras/errorMsg
rwddemo-0.91 extras/errorMsg
rwdschedule-0.98 extras/errorMsg
rwdschedule-0.97 extras/errorMsg
rwdshell-0.96 extras/errorMsg
rwdshell-0.97 extras/errorMsg