original_string: public function getCode($type = 'default')
      {
          $code = $this->exception->getCode();
          if (empty($this->exception->getCode())) {
              $code = config($this->configFile.'.codes.'.$type);
          }
  
          return $code;
      }
code: public function getCode($type = 'default')
      {
          $code = $this->exception->getCode();
          if (empty($this->exception->getCode())) {
              $code = config($this->configFile.'.codes.'.$type);
          }
  
          return $code;
      }
code_tokens: public function getCode ( $ type = 'default' ) { $ code = $ this -> exception -> getCode ( ) ; if ( empty ( $ this -> exception -> getCode ( ) ) ) { $ code = config ( $ this -> configFile . '.codes.' . $ type ) ; } return $ code ; }
docstring: Get error code. If code is empty from config file based on type.
  
  @param  string $type Code type from config file
  @return int
docstring_tokens: Get error code . If code is empty from config file based on type .