'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
// Kleros
var MISSING_PARAMETERS = exports.MISSING_PARAMETERS = function MISSING_PARAMETERS(name) {
  return 'Missing required parameter: ' + name;
};

// StoreProviderWrapper
var PROFILE_NOT_FOUND = exports.PROFILE_NOT_FOUND = function PROFILE_NOT_FOUND(user) {
  return 'No profile found for user: ' + user + '.';
};
var NOTIFICATION_NOT_FOUND = exports.NOTIFICATION_NOT_FOUND = function NOTIFICATION_NOT_FOUND(txHash) {
  return 'No notification with txHash ' + txHash + ' exists.';
};
var REQUEST_FAILED = exports.REQUEST_FAILED = function REQUEST_FAILED(error) {
  return 'Request returned an error response: ' + error;
};

// Contracts
var UNABLE_TO_DEPLOY_CONTRACT = exports.UNABLE_TO_DEPLOY_CONTRACT = 'Unable to deploy contract, are you sure the contract artifact is correct?';
var CONTRACT_NOT_DEPLOYED = exports.CONTRACT_NOT_DEPLOYED = 'Unable to load contract. Are you sure the contract is deployed and you are on the right network?';
var UNABLE_TO_LOAD_CONTRACT = exports.UNABLE_TO_LOAD_CONTRACT = 'Unable to load contract. Are you sure the contract artifact is correct?';
var MISSING_CONTRACT_PARAMETERS = exports.MISSING_CONTRACT_PARAMETERS = 'Unable to load contract. Missing contractAddress or Artifact. Please call setContractInstance';

// Implementation
var CONTRACT_INSTANCE_NOT_SET = exports.CONTRACT_INSTANCE_NOT_SET = 'No contract instance. Use setContractInstance';

// PinakionPOC
var UNABLE_TO_SET_KLEROS = exports.UNABLE_TO_SET_KLEROS = 'Unable to set Kleros.';
var UNABLE_TO_TRANSFER_OWNERSHIP = exports.UNABLE_TO_TRANSFER_OWNERSHIP = 'Unable to transfer ownership.';

// KlerosPOC
var UNABLE_TO_BUY_PNK = exports.UNABLE_TO_BUY_PNK = 'Unable to buy PNK, are you sure you have enough ETH?';
var UNABLE_TO_ACTIVATE_PNK = exports.UNABLE_TO_ACTIVATE_PNK = 'Unable to activate PNK, are you sure you have enough?';
var UNABLE_TO_FETCH_ARBITRATION_COST = exports.UNABLE_TO_FETCH_ARBITRATION_COST = 'Unable to fetch arbitration cost.';
var UNABLE_TO_FETCH_TIME_PER_PERIOD = exports.UNABLE_TO_FETCH_TIME_PER_PERIOD = 'Unable to fetch time per period';
var UNABLE_TO_PASS_PERIOD = exports.UNABLE_TO_PASS_PERIOD = 'Unable to pass period.';
var UNABLE_TO_FETCH_DISPUTE = exports.UNABLE_TO_FETCH_DISPUTE = 'Unable to fetch dispute.';
var UNABLE_TO_FETCH_AMOUNT_OF_JURORS = exports.UNABLE_TO_FETCH_AMOUNT_OF_JURORS = 'Unable to fetch amount of jurors';
var UNABLE_TO_SUBMIT_VOTES = exports.UNABLE_TO_SUBMIT_VOTES = 'Unable to submit votes.';
var UNABLE_TO_APPEAL = exports.UNABLE_TO_APPEAL = 'Unable to appeal.';
var UNABLE_TO_REPARTITION_TOKENS = exports.UNABLE_TO_REPARTITION_TOKENS = 'Unable to repartition tokens.';
var UNABLE_TO_EXECUTE_RULING = exports.UNABLE_TO_EXECUTE_RULING = 'Unable to execute ruling.';
var ACCOUNT_NOT_A_JUROR_FOR_CONTRACT = exports.ACCOUNT_NOT_A_JUROR_FOR_CONTRACT = function ACCOUNT_NOT_A_JUROR_FOR_CONTRACT(account, contractAddress) {
  return account + ' is not a juror for contract ' + contractAddress;
};
var PERIOD_OUT_OF_RANGE = exports.PERIOD_OUT_OF_RANGE = function PERIOD_OUT_OF_RANGE(periodNumber) {
  return 'Period ' + periodNumber + ' does not have a time associated with it.';
};
var DISPUTE_DOES_NOT_EXIST = exports.DISPUTE_DOES_NOT_EXIST = function DISPUTE_DOES_NOT_EXIST(disputeId) {
  return 'Dispute ' + disputeId + ' does not exist';
};

// ArbitrableTransaction
var UNABLE_TO_PAY_ARBITRATION_FEE = exports.UNABLE_TO_PAY_ARBITRATION_FEE = 'Unable to pay fee, are you sure you have enough PNK?';
var UNABLE_TO_PAY_SELLER = exports.UNABLE_TO_PAY_SELLER = 'Unable to pay the seller, are you sure you have enough ETH?';
var UNABLE_TO_CALL_TIMEOUT = exports.UNABLE_TO_CALL_TIMEOUT = 'Unable to call timeout.';
var CONTRACT_IS_NOT_WAITING_ON_OTHER_PARTY = exports.CONTRACT_IS_NOT_WAITING_ON_OTHER_PARTY = 'Unable to call timeout, because the contract is not waiting on the other party.';
var TIMEOUT_NOT_REACHED = exports.TIMEOUT_NOT_REACHED = 'Unable to call timeout, because it has not been reached yet.';

// AbstractContract
var NO_ARBITRATOR_IMPLEMENTATION_SPECIFIED = exports.NO_ARBITRATOR_IMPLEMENTATION_SPECIFIED = 'No Arbitrator Contract Implementation specified. Please call setArbitrator.';
var NO_ARBITRABLE_IMPLEMENTATION_SPECIFIED = exports.NO_ARBITRABLE_IMPLEMENTATION_SPECIFIED = 'No Arbitrable Contract Implementation specified. Please call setArbitrable.';
var NO_STORE_PROVIDER_SPECIFIED = exports.NO_STORE_PROVIDER_SPECIFIED = 'No Store Provider Specified. Please call setStoreProvider';

// Disputes
var NO_STORE_DATA_FOR_DISPUTE = exports.NO_STORE_DATA_FOR_DISPUTE = function NO_STORE_DATA_FOR_DISPUTE(account) {
  return 'Account ' + account + ' does not have store data for dispute';
};

// Notifications
var MISSING_STORE_PROVIDER = exports.MISSING_STORE_PROVIDER = 'This method requires the use of an off chain store. Please call setStoreProviderInstance.';

// Event Listener
var MISSING_CONTRACT_INSTANCE = exports.MISSING_CONTRACT_INSTANCE = function MISSING_CONTRACT_INSTANCE(contractAddress) {
  return 'No contract instance stored for ' + contractAddress + '. Please call addContractInstance.';
};
var ERROR_FETCHING_EVENTS = exports.ERROR_FETCHING_EVENTS = function ERROR_FETCHING_EVENTS(error) {
  return 'Unable to fetch events: ' + error;
};

// Auth
var UNABLE_TO_SIGN_TOKEN = exports.UNABLE_TO_SIGN_TOKEN = 'There was an error signing the auth token. Please try again';
var INVALID_AUTH_TOKEN = exports.INVALID_AUTH_TOKEN = function INVALID_AUTH_TOKEN(msg) {
  return 'Authorization Token is invalid: ' + msg;
};
//# sourceMappingURL=error.js.map