# Error.message property in browser is incomplete

**URL:** <https://forum.kirupa.com/t/error-message-property-in-browser-is-incomplete/317901>\
**Category:** flash\
**Created:** [January 5, 2011, 5:33pm UTC](https://forum.kirupa.com/t/error-message-property-in-browser-is-incomplete/317901 "2011-01-05T17:33:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flashgroove](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@flashgroove](https://forum.kirupa.com/u/flashgroove)\
**Post date:** [January 5, 2011, 5:33pm UTC](https://forum.kirupa.com/t/error-message-property-in-browser-is-incomplete/317901/1 "2011-01-05T17:33:45Z")

</div>

I have encountered a problem with the “message” property of the “Error” class.

The problem consists in the difference of the message text between the Flash Player of the Flash program and the Flash Player of the browser.

I am using the “try, catch” statement to catch en error and afterward I display the “message” property of the error in a text field.

In the Flash program, the text field displays the full error message, something like:

```auto
Error #1085: The element type "something" must be terminated by the matching end-tag "</something>".

```

But in the browser, it only displays the code, not the description of it as well:

```auto
Error #1085

```

Is this an error ? Is there a way to go around this ?
