public class ErrorArtifactRequest extends Object
Request the queue to reply 424
(Failed Dependency) with reason
and message
to any GET
request for this artifact. This is mainly useful as a way for a task to declare that it failed to provide an artifact it wanted to upload.
See https://schemas.taskcluster.net/queue/v1/post-artifact-request.json#/oneOf[4]
Modifier and Type | Field and Description |
---|---|
Date |
expires
Date-time after which the queue should stop replying with the error and forget about the artifact.
|
String |
message
Human readable explanation of why the artifact is missingMax length: 4096See https://schemas.taskcluster.net/queue/v1/post-artifact-request.json#/oneOf[4]/properties/message
|
String |
reason
Reason why the artifact doesn’t exist.
|
String |
storageType
Artifact storage type, in this case
error Possible values: * “error”See https://schemas.taskcluster.net/queue/v1/post-artifact-request.json#/oneOf[4]/properties/storageType |
Constructor and Description |
---|
ErrorArtifactRequest() |
public Date expires
Date-time after which the queue should stop replying with the error and forget about the artifact.
See https://schemas.taskcluster.net/queue/v1/post-artifact-request.json#/oneOf[4]/properties/expires
public String message
Human readable explanation of why the artifact is missing
Max length: 4096
See https://schemas.taskcluster.net/queue/v1/post-artifact-request.json#/oneOf[4]/properties/message
public String reason
Reason why the artifact doesn’t exist.
Possible values: * “file-missing-on-worker” * “invalid-resource-on-worker” * “too-large-file-on-worker”
See https://schemas.taskcluster.net/queue/v1/post-artifact-request.json#/oneOf[4]/properties/reason
public String storageType
Artifact storage type, in this case error
Possible values: * “error”
See https://schemas.taskcluster.net/queue/v1/post-artifact-request.json#/oneOf[4]/properties/storageType
Copyright © 2014–2018 Mozilla. All rights reserved.