Class: APIError

nationscript/errors~APIError(message)

An NSError related to a failure in communications with the NationStates API.

Constructor

new APIError(message)

Instantiates a new APIError.

Parameters:
Name Type Description
message string

Error message to display.