PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.ruby > List of Eror Messages
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
List of Eror Messages

Réponse
 
LinkBack Outils de la discussion
Vieux 21/11/2007, 17h16   #1
Mahen Surinam
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut List of Eror Messages

I wanted to know if there is someplace where I can get a list of all
the error messages generated by Ruby as well as explanations.
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
Vieux 21/11/2007, 21h16   #2
Eric Hodel
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: List of Eror Messages

On Nov 21, 2007, at 09:16 , Mahen Surinam wrote:

> I wanted to know if there is someplace where I can get a list of all
> the error messages generated by Ruby as well as explanations.


The QuickRef has the list of exceptions:

http://www.zenspider.com/Languages/Ruby/QuickRef.html

I know of no list of error messages that exceptions can contain
outside of reading the source.

--
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars



  Réponse avec citation
Vieux 21/11/2007, 22h18   #3
Morton Goldberg
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: List of Eror Messages

On Nov 21, 2007, at 12:16 PM, Mahen Surinam wrote:

> I wanted to know if there is someplace where I can get a list of all
> the error messages generated by Ruby as well as explanations.
> --
> Posted via http://www.ruby-forum.com/.


Not really -- for a variety of reasons.

1. Error messages come from an indefinite number of sources -- from
the Ruby interpreter itself, from built-in library classes, from
standard library classes, from add-on libraries, etc.

2. The majority of error messages come from classes derived from
Exception. New Exception subclasses can derived by any developer.
Another reason there can be no fixed list of error messages.

3. Any Ruby code that creates a new Exception object by executing
'raise' can customize the error message of that particular exception
object. Another source of indefinitely many error messages.

OTOH, if you are really asking "where can a list of the standard
Exception subclasses be found?", the Pickaxe book is a good place to
look.

Regards, Morton

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h59.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08982 seconds with 11 queries