Exceptions: Difference between revisions

Content deleted Content added
m →‎{{header|Txr}}: header case
m →‎{{header|Slate}}: Add argument to {{lines too long}}.
Line 1,550: Line 1,550:


'''Throwing Exceptions'''<br>
'''Throwing Exceptions'''<br>
{{lines too long|Slate}}
{{Lines_too_long}}
<lang slate>(fileName endsWith: '.image') ifTrue: [error: 'Image filename specified where Slate source expected. Make sure you run slate with the -i flag to specify an image.'].</lang>
<lang slate>(fileName endsWith: '.image') ifTrue: [error: 'Image filename specified where Slate source expected. Make sure you run slate with the -i flag to specify an image.'].</lang>