Package com.vaadin.copilot.exception
package com.vaadin.copilot.exception
-
ClassDescriptionImplemented by exceptions that carry a machine-readable code, so the frontend can react to why an operation failed instead of parsing the message.Generic exception for Copilot which exists mainly to make it easy to see that an exception originated inside Copilot.Thrown when the Copilot Server returns non-200 HTTP response.Deprecated.Thrown when a single operation would have to rewrite files in more than one language at once.Exception that suggests to restart the application.Thrown when Copilot understands the request but cannot carry it out for this source language yet.
UnsupportedSourceLanguageExceptionwith the language and the operation instead, so the refusal can name what was declined.