# Class: Service

## (abstract) bemap.Service(context, options)

Base class for BeMap service.

## Constructor

#### (abstract) new Service(context, options)

##### Parameters:

Name | Type | Description
--- | --- | ---
`context` | bemap.Context | BeMap-JS-API Context. Mandatory.
`options` | object | see below the available values.

Source:
  - bemap-service.js, line 15

### Members

#### (protected) ctx :bemap.Context

##### Type:

- bemap.Context

Source:
  - bemap-service.js, line 22

### Methods

#### (protected) checkErrorParser() → {boolean}

Check if BeMap return an error or exception.

Source:
  - bemap-service.js, line 35

##### Returns:

Return true if an error or exception was detected, otherwise false.

Type
  boolean