---
title: "Service Error Event"
id: "service-error-event"
project: "MES User Manual"
url: "https://docs.sepasoft.com/articles/user-manual/service-error-event"
updated: 2026-12-01T00:44:39Z
---

# Service Error Event

This event is triggered by a web service listener if a call to run the web service results in a service error.

## Object Functions
getErrorMessage()
Description

The error message from the Web Service provider.
 
Syntax

**getErrorMessage()**

* Parameters

None

* Returns

[String](/articles/user-manual/Data-Types-and-Formats) message - A String object describing the error from the Web Service provider.

* Scope

All

getOperation()
Description

The Web Service Operation that failed.
 
Syntax

**getOperation()**

* Parameters

None

* Returns

[WSOperation](/articles/user-manual/WS-Operation) - A Web Service Operation object representing the operation that failed.

* Scope

All

 © Sepasoft. All rights reserved. 
 [Send feedback](mailto:support@clickhelp.com) on this topic to Sepasoft.