WIP: Submit transcoding jobs via a HTTP API #6
@ -8,7 +8,7 @@ import java.net.URI;
|
|||||||
public class TranscriptionNotFound extends ErrorResponseException {
|
public class TranscriptionNotFound extends ErrorResponseException {
|
||||||
public TranscriptionNotFound(String id) {
|
public TranscriptionNotFound(String id) {
|
||||||
super(HttpStatus.BAD_REQUEST);
|
super(HttpStatus.BAD_REQUEST);
|
||||||
setType(URI.create("https://gitea.dsv.su.se/DMC/whisper-frontend/wiki/Errors#transcription-file-not-found"));
|
setType(URI.create("https://gitea.dsv.su.se/DMC/whisper-frontend/wiki/Errors#transcription-not-found"));
|
||||||
setTitle("Transcription not found");
|
setTitle("Transcription not found");
|
||||||
setDetail("Transcription with id '" + id + "' not found");
|
setDetail("Transcription with id '" + id + "' not found");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user