Package | Description |
---|---|
org.astrogrid.samp |
Classes common to SAMP hub and client code.
|
Modifier and Type | Method and Description |
---|---|
static ErrInfo |
ErrInfo.asErrInfo(Map map)
Returns a given map as an ErrInfo object.
|
ErrInfo |
Response.getErrInfo()
Returns the error object.
|
Modifier and Type | Method and Description |
---|---|
static Response |
Response.createErrorResponse(ErrInfo errinfo)
Returns a new response which is an error.
|
Constructor and Description |
---|
Response(String status,
Map result,
ErrInfo errinfo)
Constructs a response with given status, result and error.
|
Copyright © 2008–2024. All rights reserved.