txt: ## binarymode.md
  class X::IO::BinaryMode
  
  Error while invoking methods on a handle in binary mode.
  
  ```raku
  class X::IO::BinaryMode does X::IO is Exception { }
  
  ```
  
  Thrown from certain [`IO::Handle`](/type/IO/Handle) methods if the handle is [in binary mode](/type/IO/Handle#method_encoding).
  
  A typical error message is
  
  ｢text｣ without highlighting
  
  ```
  
  
  ```
  
  Cannot do 'comb' on a handle in binary mode.
  
  
  ```
  
  
  ```
  
  # [Methods](#class_X::IO::BinaryMode "go to top of document")[§](#Methods "direct link")
  
  ## [method trying](#class_X::IO::BinaryMode "go to top of document")[§](#method_trying "direct link")
  
  Returns a string describing the failed operation; in this example, `comb`.
  