# Raise-argument-error

**URL:** <https://racket.discourse.group/t/raise-argument-error/1206>\
**Category:** Questions & Answers\
**Created:** [August 6, 2022, 10:33am UTC](https://racket.discourse.group/t/raise-argument-error/1206 "2022-08-06T10:33:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joskoot](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/joskoot/32/1964_2.png) [@joskoot](https://racket.discourse.group/u/joskoot)\
**Post date:** [August 6, 2022, 10:33am UTC](https://racket.discourse.group/t/raise-argument-error/1206/1 "2022-08-06T10:33:08Z")

</div>

#lang racket/base  
(raise-argument-error 'monkey "banana" 3 0 1 2 3 4 5 6 7 8 9)

Yields error message

monkey: contract violation  
expected: banana  
given: 3  
argument position: 4th  
other arguments...:

I want to see all arguments.  
I tried  
(error-print-context-length 10000)  
(error-print-width 10000)  
but this doesn't help.

The example in  
[10.2&nbsp;Exceptions](http://docs.racket-lang.org/reference/exns.html#%28def)._%28%28quote._~23~25kernel%29.\_raise-argument-error%29%29  
shows all arguments.

How can I force procedure raise-argument-error to show all arguments?

---

<div class="post-metadata">

**Author:** ![sorawee](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@sorawee](https://racket.discourse.group/u/sorawee)\
**Post date:** [August 6, 2022, 11:01am UTC](https://racket.discourse.group/t/raise-argument-error/1206/2 "2022-08-06T11:01:35Z")

</div>

Is this in DrRacket? You can click `...` to expand the details.

For the command-line, it should show you the full output already.

---

<div class="post-metadata">

**Author:** ![joskoot](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/joskoot/32/1964_2.png) [@joskoot](https://racket.discourse.group/u/joskoot)\
**Post date:** [August 6, 2022, 1:58pm UTC](https://racket.discourse.group/t/raise-argument-error/1206/3 "2022-08-06T13:58:56Z")

</div>

Yes. DrRacket. Thanks, clicking ... works.

 ![DC369554041A4649A528B20B10730B39.png](https://global.discourse-cdn.com/free1/uploads/racket/original/1X/2ad4c25f471d2cfc2782215e9bb5a535b2545175.png)
