NotFoundException constructor
const
NotFoundException(
- String message
The exception is thrown when the object is not found.
Response form the server:
{
"error": "not-found",
"message": "Invoice with number invoice_number does not exist"
}
Implementation
const NotFoundException(String message) : super(message);