github.com/vchain-us/vcn@v0.9.11-0.20210921212052-a2484d23c0b3/internal/errors/messages.go (about)

     1  /*
     2   * Copyright (c) 2018-2020 vChain, Inc. All Rights Reserved.
     3   * This software is released under GPL3.
     4   * The full license information can be found under:
     5   * https://www.gnu.org/licenses/gpl-3.0.en.html
     6   *
     7   */
     8  package errors
     9  
    10  import "errors"
    11  
    12  const AccountNotSynced = `account not yet synced
    13  
    14  We are finalizing your account configuration. We will complete the
    15  configuration shortly and we will update you as soon as this is done.
    16  We are sorry for the inconvenience and would like to thank you for
    17  your patience.
    18  It only takes few seconds. Please try again in 1 minute.`
    19  
    20  const AuthRequired = `authentication required, please login`
    21  
    22  const UnconfirmedEmail = `your email address was not confirmed
    23  
    24  Please confirm it by clicking on the link we sent to %s.
    25  If you did not receive the email, please go to %s and click on the link "Resend email"`
    26  
    27  const NoRemainingSignOps = `notarization quota exceeded
    28  
    29  Unfortunately, you have used all your notarizations for this month.
    30  If you would like to increase the number of monthly notarizations,
    31  please email us at support@codenotary.io with your request.`
    32  
    33  const TrialExpired = `your trial period has been expired
    34  
    35  To continue notarizing assets, please purchase a subscription.`
    36  
    37  // BlockchainPermission refers to https://github.com/vchain-us/vcn/wiki/Errors#blockchain-permission-403
    38  const BlockchainPermission = `could not write to blockchain
    39  
    40  You have not permission to write onto the blockchain (yet).
    41  Please try again later. If the problem persists contact our support.`
    42  
    43  const BlockchainTimeout = `writing to blockchain timed out
    44  
    45  Please try again later. If the problem persists contact our support.`
    46  
    47  const BlockchainCannotConnect = `cannot connect to blockchain
    48  
    49  Please try again later. If the problem persists contact our support.`
    50  
    51  const BlockchainContractErr = `cannot instantiate contract
    52  
    53  Please try again later. If the problem persists contact our support.`
    54  
    55  const SignFailed = `method <sign> failed`
    56  
    57  const BlockchainSameHashAlreadyImported = `transaction with the same hash was already imported`
    58  
    59  const BlockchainTxNonceTooLow = `transaction nonce is too low. Try incrementing the nonce`
    60  
    61  var ErrNoLcApiKeyEnv = errors.New(`no API key configured. Please set the environment variable VCN_LC_API_KEY=<API-KEY> or use --lc-api-key flag on each request before running any commands`)
    62  var ErrPubAuthNoSignerID = errors.New(`when no api key is provided signerID is mandatory`)